Commit 2395a87
committed
Improve footer e2e scroll detection reliability
Replace single instantaneous scrolls with incremental scrollBy loops and short waits to avoid missing scroll events (SSR hydration race on slow CI runners). Increase visibility timeouts to 5000ms and reuse the existing footer locator (remove redundant footerAgain). These changes make the test more robust when detecting scroll-direction-driven footer show/hide behavior.1 parent ea69f86 commit 2395a87
1 file changed
Lines changed: 14 additions & 10 deletions
File tree
- e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
0 commit comments