Commit 23d72cb
authored
Tests: Fix the "outside view position" test in Headless Chrome
In Headless Chrome, when run locally on macOS together with a few other modules,
the scroll handler for the appended element in the "outside view position"
dimensions test doesn't fire, timing out the test & failing it as a result.
While the scroll handler may not fire, the new position data is available
immediately, so just do the checks directly, without relying on scroll handlers.
Closes gh-5728
Ref gh-57291 parent 9572ae8 commit 23d72cb
1 file changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
650 | | - | |
| 649 | + | |
651 | 650 | | |
652 | 651 | | |
653 | 652 | | |
654 | 653 | | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | 654 | | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
663 | 658 | | |
664 | 659 | | |
665 | 660 | | |
| |||
0 commit comments