Commit 519584d
committed
fix: add force click and visibility check in Cypress navigation command
Fix E2E test failures caused by timing issues when navigating to settings page.
The settings link was sometimes not clickable due to overlays or page loading state.
Changes:
- Add .should('be.visible') to wait for element visibility before clicking
- Add { force: true } to settings link click to handle overlays
- Ensures tests are more reliable in CI environment
This resolves the "Download the config as zip" test failure where clicking
on a[href="/admin/settings"] was failing intermittently.1 parent 05f823e commit 519584d
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
0 commit comments