fix(e2e): update remaining tests using exact-match toggle-btn selector

analysis.feature and full-ui-path.feature used [data-e2e=toggle-btn]
(exact match) which no longer works since toggle buttons now have
compound selectors (e.g. "toggle-btn configure-btn"). Switch to
word-match [data-e2e~=configure-btn].
This commit is contained in:
Pier-Jean Malandrino 2026-04-12 15:17:02 +02:00
parent 1292b7c441
commit 39f74fd426
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ Feature: UI — Launch an analysis and verify results
* waitFor('[data-e2e=doc-item].selected')
# Verify we are in Configure mode (first toggle button is active)
* waitFor('[data-e2e=toggle-btn].active')
* waitFor('[data-e2e~=configure-btn].active')
# Click Run / Exécuter
* waitFor('[data-e2e=run-btn]')

View file

@ -22,7 +22,7 @@ Feature: UI — Full happy path via browser
* waitFor('[data-e2e=doc-item].selected')
# Step 5: Verify Configure mode is active
* waitFor('[data-e2e=toggle-btn].active')
* waitFor('[data-e2e~=configure-btn].active')
# Step 6: Run the analysis
* click('[data-e2e=run-btn]')