kaoto-ui
kaoto-ui copied to clipboard
After end step removal - integration removing middle step instead
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
- run the test
Step detail - User selects a step, which opens the detail drawer
- 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]
Thanks @tplevko for putting this together :+1:
A temporary workaround for e2e was introduced here:
https://github.com/KaotoIO/kaoto-ui/pull/1921#discussion_r1222579584