Commit ab9e51e
authored
test(nuxt): Fix flaky test and add note about hydration timing to skill (#21054)
Fixes flaky test and also adds a note about how to properly test
something like this to our test skill (because AI tends to fix that with
the discouraged `networkidle` option):
https://playwright.dev/docs/api/class-page#page-wait-for-load-state
Closes #210471 parent f002b7a commit ab9e51e
2 files changed
Lines changed: 17 additions & 0 deletions
File tree
- .agents/skills/write-tests
- dev-packages/e2e-tests/test-applications/nuxt-3-dynamic-import/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
468 | 484 | | |
469 | 485 | | |
470 | 486 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments