Commit 0cad511
fix(e2e): waitForTable waits for 'N companies' count text
The previous spinner-wait approach (c7e8953) had a budget problem:
30s spinner wait + 30s selector wait could total 60s inside a 30s
test timeout. Tests died in beforeEach before assertions ran.
Replace with a single wait for the "N companies" count text inside
[data-testid="company-table"]. This text only renders after
isLoading becomes false and data is available. Single 30s budget,
no multi-stage timeout stacking.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c7e8953 commit 0cad511
1 file changed
Lines changed: 6 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
76 | 70 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
84 | 74 | | |
85 | 75 | | |
86 | 76 | | |
| |||
0 commit comments