Repository navigation
Commit 76534ac
fix(playwright): don't block on debug element preview when element is removed (#5740)
In debug mode _locate() previews found elements via Locator.evaluate(),
which auto-waits for the element to be attached. If the element was removed
between all() and evaluate(), the step blocked for the full helper timeout
and failed. Make the preview best-effort with a short timeout.
Fixes #5739
Co-authored-by: Jaromir Obr <jobr@spork.tech>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent def64e2 commit 76534ac
2 files changed
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4946 | 4946 | | |
4947 | 4947 | | |
4948 | 4948 | | |
4949 | | - | |
| 4949 | + | |
4950 | 4950 | | |
4951 | 4951 | | |
4952 | 4952 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
700 | 733 | | |
701 | 734 | | |
702 | 735 | | |
| |||
0 commit comments