kaoto-ui icon indicating copy to clipboard operation
kaoto-ui copied to clipboard

After end step removal - integration removing middle step instead

Open tplevko opened this issue 1 year ago • 2 comments

Describe the Bug

This is a bug causing instabilities in the e2e test step_actions_from_canvas.cy.js , more specifically test named Step detail - User selects a step, which opens the detail drawer

Issue is with the integration - "timer -> choice -> log"

The issue occurs, when in the UI state after removing the last - "log" step. Instead of removing the ends step, the middle "choice" step gets removed and the "log" step remains in the integration.

See video.

Happens only occasionally and was only able to reproduce with the test.

Steps to Reproduce the Bug or Issue

  1. run the test Step detail - User selects a step, which opens the detail drawer
  2. try several times - mostly happens with headless browser

Screenshots or Videos

https://github.com/KaotoIO/kaoto-ui/assets/4180208/015de431-ce0a-405d-99bc-ae6f261b965d

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [latest]

tplevko avatar May 25 '23 10:05 tplevko

Thanks @tplevko for putting this together :+1:

lordrip avatar May 25 '23 10:05 lordrip

A temporary workaround for e2e was introduced here:

https://github.com/KaotoIO/kaoto-ui/pull/1921#discussion_r1222579584

lordrip avatar Jun 08 '23 09:06 lordrip