Commit 36352fb
committed
Fix Node.js e2e: re-throw non-timeout goto errors, add 'navigating' to retry
Previously the catch block swallowed ALL page.goto errors, causing
page.content() to fail with 'navigating' when the page hadn't finished.
Now only timeout errors silently proceed; all other errors propagate
to the retry loop which already handles network failures.1 parent d65d140 commit 36352fb
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
332 | 335 | | |
333 | 336 | | |
334 | 337 | | |
| |||
377 | 380 | | |
378 | 381 | | |
379 | 382 | | |
380 | | - | |
| 383 | + | |
| 384 | + | |
381 | 385 | | |
382 | 386 | | |
383 | 387 | | |
| |||
0 commit comments