playwright/tests/library
Dmitry Gozman 6d56b453ff
fix(connect): include websocket close reason in the error message (#30203)
When websocket disconnects during `browserType.connect()` call, the
error looks like this now:

```
browserType.connect: Custom error message received over WebSocket
```

Previously, it was a generic error:
```
browserType.connect: Target page, context or browser has been closed
```
2024-04-01 21:05:33 -07:00
..
chromium fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
emulation-focus.spec.ts-snapshots feat(webkit): roll to r1674 (#15384) 2022-07-08 11:07:06 -07:00
firefox feat: support firefoxUserPrefs in launchPersistentContext (#27840) 2023-10-27 09:24:41 -07:00
inspector Revert "feat(codegen): add button to generate toHaveScreenshot statement (#29996)" (#30064) 2024-03-22 13:26:22 -07:00
screenshot.spec.ts-snapshots test: screenshot of css transformation (#26533) 2023-08-18 14:30:43 -07:00
beforeunload.spec.ts chore: remove Page._didDisconnect (#27317) 2023-09-27 14:09:56 -07:00
browser.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-add-cookies.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-add-init-script.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-base-url.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-basic.spec.ts feat(firefox): roll ff and ff-beta to 1442 (#29751) 2024-02-29 14:44:45 -08:00
browsercontext-clearcookies.spec.ts chore: move filter params into the clearCookies (#30111) 2024-03-26 08:12:26 -07:00
browsercontext-cookies.spec.ts test: update stale test expectations (#20423) 2023-01-27 21:52:34 -08:00
browsercontext-credentials.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-csp.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-device.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-dsf.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
browsercontext-events.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-expose-function.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-fetch-happy-eyeballs.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
browsercontext-fetch.spec.ts chore: revert support of duplicate form data fields in multipart post data (#30127) 2024-03-26 12:36:35 -07:00
browsercontext-har.spec.ts fix(har): do not throw on -1 status code (#29371) 2024-02-06 10:17:29 -08:00
browsercontext-locale.spec.ts test: locale/timeZone should affect Intl.DateTimeFormat() (#27898) 2023-11-01 17:29:57 +01:00
browsercontext-network-event.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-page-event.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
browsercontext-pages.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-proxy.spec.ts test: enable localhost proxy tests on webkit mac, unless bypass rules are set (#29641) 2024-02-23 14:27:30 -08:00
browsercontext-reuse.spec.ts fix(reuse): reset Origin Private File System API (#29921) 2024-03-15 17:40:46 +01:00
browsercontext-route.spec.ts chore: extract unroute behavior tests into a separate file (#28674) 2023-12-15 15:37:57 -08:00
browsercontext-service-worker-policy.spec.ts feat: add allow/block serviceWorkers option (#14714) 2022-06-08 18:27:51 -04:00
browsercontext-set-extra-http-headers.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-storage-state.spec.ts fix(storageState): try to collect storage state on existing pages first (#29915) 2024-03-12 19:20:35 -07:00
browsercontext-strict.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-timezone-id.spec.ts test: locale/timeZone should affect Intl.DateTimeFormat() (#27898) 2023-11-01 17:29:57 +01:00
browsercontext-user-agent.spec.ts fix(chromium): emulate navigator.userAgentData along with UA (#29159) 2024-01-25 07:34:11 -08:00
browsercontext-viewport-mobile.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
browsercontext-viewport.spec.ts fix(chromium): can get correct orientation angle on non-mobile devices (#23796) 2023-06-23 11:34:09 -07:00
browsertype-basic.spec.ts chore: skip tests that fail in cross-machine service mode (#24412) 2023-07-25 16:47:04 -07:00
browsertype-connect.spec.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
browsertype-launch-selenium.spec.ts test: unskip selenium driver test (#23129) 2023-05-18 18:33:11 +02:00
browsertype-launch-server.spec.ts test: unskip 'msedge' tests (#29456) 2024-02-12 17:37:45 +01:00
browsertype-launch.spec.ts chore: support await using for close() and dispose() (#27766) 2023-10-24 12:25:53 -07:00
capabilities.spec.ts test: can register service workers in an iframe (#30045) 2024-03-21 15:34:23 -07:00
channels.spec.ts test: unflake a few tests (#28205) 2023-11-16 16:31:42 -08:00
component-parser.spec.ts Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
css-parser.spec.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
debug-controller.spec.ts test: generate debug controller channel (#30018) 2024-03-20 16:56:29 +01:00
defaultbrowsercontext-1.spec.ts chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
defaultbrowsercontext-2.spec.ts test: skip new tests that don't work in non-default mode (#22369) 2023-04-12 15:15:34 -07:00
download.spec.ts chore: mark outofprocess connection not as remote (#28156) 2023-12-06 17:58:19 -08:00
downloads-path.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
emulation-focus.spec.ts test: add a test for concurrent hover (#28042) 2023-11-09 08:27:34 -08:00
favicon.spec.ts chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
fetch-proxy.spec.ts feat(chromium-tip-of-tree): roll to r1159 (#27605) 2023-10-17 22:41:23 +02:00
geolocation.spec.ts test: unflake a few tests (#15959) 2022-07-27 11:27:53 -07:00
global-fetch-cookie.spec.ts fix(fetch): restore from empty storage state (#27025) 2023-09-12 13:11:18 -07:00
global-fetch.spec.ts chore: dispose-based callback termination (#27911) 2023-11-01 16:36:39 -07:00
har.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
headful.spec.ts feat(firefox): roll to r1403 (#22540) 2023-04-21 21:45:41 -07:00
hit-target.spec.ts fix(hit target): workaround webkit elementsFromPoint bug (#21642) 2023-03-13 19:33:56 -07:00
ignorehttpserrors.spec.ts test: using ServiceWorker on localhost over HTTPS (#27863) 2023-10-31 10:28:57 +01:00
launcher.spec.ts chore: skip tests that fail in cross-machine service mode (#24412) 2023-07-25 16:47:04 -07:00
locator-generator.spec.ts fix(locator parser): allow escaped quotes in the digest function (#29012) 2024-01-16 16:06:02 -08:00
logger.spec.ts test: run more tests in 'service' mode (#20734) 2023-02-07 18:25:33 -08:00
modernizr.spec.ts feat(webkit): roll to r1875 (#24299) 2023-07-19 18:24:21 +02:00
page-event-crash.spec.ts chore: migrate Promise.race to scopes to prevent leaks (#24160) 2023-07-11 10:38:08 -07:00
pdf.spec.ts feat(chromium): expose parameters to generate outline / tagged PDF (#29494) 2024-02-15 17:28:04 +01:00
permissions.spec.ts fix(webkit): support clipboard.readText (#27581) 2023-10-13 09:10:35 -07:00
playwright.config.ts chore: do not use project id in telereporter (#29776) 2024-03-01 21:44:08 -08:00
popup.spec.ts chore: allow click close the page w/o errors (#27994) 2023-11-06 15:13:41 -08:00
proxy-pattern.spec.ts feat(socks): support pattern similar to proxy bypass rules (#19387) 2022-12-12 12:27:34 -08:00
proxy.spec.ts test: enable localhost proxy tests on webkit mac, unless bypass rules are set (#29641) 2024-02-23 14:27:30 -08:00
resource-timing.spec.ts test: skip resource-timing WK tests on Windows (#20622) 2023-02-06 10:41:09 +01:00
role-utils.spec.ts fix(role): handle display:contents elements (#23607) 2023-06-08 16:00:48 -07:00
screenshot.spec.ts test: screenshot of css transformation (#26533) 2023-08-18 14:30:43 -07:00
selector-generator.spec.ts feat(codegen): generate multiple selectors to choose from (#29154) 2024-01-25 07:35:58 -08:00
selectors-register.spec.ts fix(selectors): allow custom engines in out-of-process (#17139) 2022-09-06 14:15:53 -07:00
shared-worker.spec.ts fix(chromium): detach from shared workers (#18976) 2022-11-22 15:20:42 -08:00
signals.spec.ts fix(launcher): unregister global process handlers when all browser are closed (#29011) 2024-01-16 14:41:26 -08:00
slowmo.spec.ts chore: make tests strict (1) (#27731) 2023-10-23 09:31:30 -07:00
snapshotter.spec.ts fix(snapshot): invalidate style sheet upon CSSGroupingRule changes (#27296) 2023-09-25 14:34:17 -07:00
tap.spec.ts chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
trace-viewer.spec.ts fix(trace viewer): show correct number of pages without screencast (#30124) 2024-03-26 10:25:12 -07:00
tracing.spec.ts fix(tracing): do not serialise out-of-process Buffers (#29425) 2024-02-12 21:03:38 +01:00
unroute-behavior.spec.ts chore: extract unroute behavior tests into a separate file (#28674) 2023-12-15 15:37:57 -08:00
video.spec.ts chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
web-socket.spec.ts chore: unify target closed errors (#27540) 2023-10-12 11:05:34 -07:00