playwright/packages
Dmitry Gozman af40eae13e chore: make noWaitAfter a default
This changes the last actions, namely `click` and `press`, to not wait
for the ongoing navigations after the action.

Maintaining this behavior becomes tricky, because browsers move away from
guaranteed synchronous navigations to optimized performance. See #34377
for more details.

This is technically a breaking change. Most of the time, this should
not be noticeable, because the next action will auto-wait the navigation
and for any required conditions anyway. However, there are some patterns
revealed by our tests that are affected:
- Calling `goBack/goForward` immediately after an action. This pattern
  requires `expect(page).toHaveURL()` or a similar check inbetween.
- Listening for network events during the action, and immediately
  asserting after the action. This pattern requires `waitForRequest()`
  or a similar promise-based waiter as recommended in best practices.

We maintain the opt-out `env.PLAYWRIGHT_WAIT_AFTER_CLICK` that reverts
to the old behavior for now.

Additionally, previous opt-out option `env.PLAYWRIGHT_SKIP_NAVIGATION_CHECK`
has been removed, because there have been just a single issue with it,
that was immediately addressed in a patch release.
2025-02-04 15:17:43 +00:00
..
html-reporter feat(html report): show metadata (#34517) 2025-01-29 16:22:50 +00:00
playwright feat: conditional step.skip() (#34578) 2025-01-31 15:45:57 -08:00
playwright-browser-chromium chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-browser-firefox chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-browser-webkit chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-chromium chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-core chore: make noWaitAfter a default 2025-02-04 15:17:43 +00:00
playwright-ct-core chore(deps): bump vite from 5.4.6 to 5.4.14 (#34420) 2025-01-22 14:23:05 +01:00
playwright-ct-react chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-ct-react17 chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-ct-svelte chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-ct-vue chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-firefox chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-test chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
playwright-tools chore: clean up tool example (#34512) 2025-01-27 20:13:18 -08:00
playwright-webkit chore: mark v1.51.0-next (#34382) 2025-01-17 12:34:59 -08:00
protocol/src chore: land experimental tools (#34503) 2025-01-27 14:49:38 -08:00
recorder chore: consolidate aria parser in isomorphic bundle (#34298) 2025-01-10 15:32:35 -08:00
trace/src feat: conditional step.skip() (#34578) 2025-01-31 15:45:57 -08:00
trace-viewer feat: conditional step.skip() (#34578) 2025-01-31 15:45:57 -08:00
web chore: move attachment link back to tree item, make it flash yellow (#34353) 2025-01-20 09:06:01 +01:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00