KaotoIO / kaoto

Next version of the UI of the Kaoto project
Apache License 2.0
22 stars 21 forks source link

fix(e2e): Remove usage of `#processor-advanced-expandable-section-toggle` #1197

Closed lordrip closed 4 days ago

lordrip commented 4 days ago

Context

The interceptSendToEndpoint and onCompletion entities have expandable sections, making the e2e to fail.

relates to: https://github.com/KaotoIO/kaoto/pull/1195

lordrip commented 4 days ago

@tplevko, since the ID of the expandable section changed, the test fails. I didn't update the ID as it's the same for all expandable sections, instead, I used the Cypress .contain method to get the button element that has a child Processor advanced properties text