Commit 0c7ce1f
committed
fix(test): fix FileFilters exclude test race condition in Firefox
The awaitsFor loop only checked that CSS results were absent but did not
wait for HTML results to be populated. In Firefox on CI the search can
remove CSS matches before finishing HTML indexing, causing the subsequent
expect to see undefined. Add the positive HTML check to both awaitsFor
conditions, matching the pattern already used in the filter-switching test.1 parent 6804af6 commit 0c7ce1f
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
| 218 | + | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
| |||
329 | 330 | | |
330 | 331 | | |
331 | 332 | | |
332 | | - | |
| 333 | + | |
| 334 | + | |
333 | 335 | | |
334 | 336 | | |
335 | 337 | | |
| |||
0 commit comments