Commit 91dbd7f
committed
Harden openExtractByName against toast-overlay clicks
The extract list page sometimes shows a stack of notification toasts
("Extract created successfully!", "Extract Complete", etc.) that hover
over the just-created extract card and intercept the click. Playwright
reports 'intercepts pointer events' / 'element is not stable' and times
out.
Helper now (a) clicks the close button on every visible role=alert
toast before attempting the click, and (b) uses { force: true } as a
belt-and-braces fallback against any remaining transient overlay. The
card itself is stable; only the toast layer was flaky.1 parent e5ea5d4 commit 91dbd7f
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
569 | 585 | | |
570 | 586 | | |
571 | 587 | | |
572 | | - | |
573 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
574 | 591 | | |
575 | 592 | | |
576 | 593 | | |
| |||
0 commit comments