Commit d9ef5ee
test: stop hitting codecept.io live site for flake-prone selectors
The .frameworks/.mountains/[alt="React"] and .logo selectors no longer
exist on the new codecept.io homepage, so two specs went red:
- Playwright_test.js: 'should wait for invisible combined with dontseeElement'
- WebDriver_test.js: 'should check text is not equal to empty string of element text'
Point both at the local /info fixture using elements that already exist
there (#grab-multiple, a[id="first-link"], #grab-css, #p-no-text).
Same assertions, no external network dependency.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent a7b80b2 commit d9ef5ee
2 files changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
212 | 211 | | |
213 | 212 | | |
214 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
431 | | - | |
| 430 | + | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
0 commit comments