Commit 7028fdd
test(e2e): fix race condition and locator iteration in number filter test
Replace textContent()+toBe() with toHaveText() locator assertion so the
paging status check retries until the filter is applied. Fix row loop to
use expected.length and .nth(i) — rows.length on a Playwright Locator is
undefined, so the loop was silently never executing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c09697a commit 7028fdd
1 file changed
Lines changed: 7 additions & 6 deletions
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 41 | + | |
| 42 | + | |
45 | 43 | | |
46 | | - | |
47 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments