Commit c38b821
committed
fix(e2e): improve alert modal dismissal reliability
Made dismissAlertModal() more robust:
- Wait for modal animation before attempting dismissal
- Try multiple selectors (button class, aria-label, overlay)
- Add proper timeout handling for each selector
- Wait after dismissal to ensure modal closes
This should fix the remaining E2E test failures where
the modal was still blocking UI interactions.1 parent 44cf7ad commit c38b821
1 file changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
38 | 55 | | |
39 | 56 | | |
40 | 57 | | |
| |||
0 commit comments