playwright/tests
Ross Wollman 0d42c16a17
fix(test-runner): undefined body crash with manual attachments (#11995)
The new (as of 1.18) `async testInfo.attach(…)` API handles this
gracefully (and is part of the reason for the new API's existence).
However, for the foreseeable future, it's still possible to manually
push onto the attachments array where we can't validate the contents
until it's too late, so this change ensures more graceful handling in
that case.

Fixes #11565
2022-02-10 12:33:38 -08:00
..
android test: migrate to upstream fixtures (#9835) 2021-10-28 08:31:30 -07:00
assets feat: introduce disableAnimations option for screenshots (#11870) 2022-02-09 12:52:11 -08:00
chromium fix(test runner): resolve tsconfig for each file (#11662) 2022-01-26 18:28:42 -08:00
config test: unflake browsertype-connect.spec (#11994) 2022-02-09 17:00:33 -08:00
electron fix(electron): make recordVideo work (#10810) 2021-12-08 17:34:50 -08:00
emulation-focus.spec.ts-snapshots test: roll to folio@0.4.0-alpha28 (#6918) 2021-06-04 20:54:58 -07:00
firefox test: remove browserOptions (#9829) 2021-10-27 19:00:06 -07:00
inspector test: enable "should record open in a new tab with url" on webkit (#11917) 2022-02-07 16:09:11 -08:00
page feat(mouse): set .buttons correctly for basic mouse commands in Chrome (#10698) 2022-02-09 20:48:16 -08:00
playwright-test fix(test-runner): undefined body crash with manual attachments (#11995) 2022-02-10 12:33:38 -08:00
screenshot.spec.ts-snapshots test: add screenshot test with hanging main resource (#9972) 2021-11-02 16:55:32 +01:00
trace-viewer feat(tracing): suport loading multiple files in trace viewer (#11880) 2022-02-07 17:05:42 -08:00
beforeunload.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browser.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-add-cookies.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-add-init-script.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-base-url.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-basic.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-clearcookies.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
browsercontext-cookies.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-credentials.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-csp.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-device.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-dsf.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-expose-function.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
browsercontext-fetch.spec.ts chore: bump dev dependencies (#11779) 2022-02-01 17:12:11 +01:00
browsercontext-locale.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-network-event.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
browsercontext-page-event.spec.ts test: mark cltr+click test as timing out on windows (#11840) 2022-02-03 09:09:38 -08:00
browsercontext-pages.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
browsercontext-proxy.spec.ts feat(proxy): unify local network proxy behavior (#10719) 2021-12-10 14:01:56 -08:00
browsercontext-route.spec.ts fix: falsey behavior in route.continue, page.post, testInfo.attach (#11421) 2022-01-24 15:06:36 -08:00
browsercontext-set-extra-http-headers.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
browsercontext-storage-state.spec.ts fix: support cookies with empty value (#9376) 2021-10-07 15:37:47 -07:00
browsercontext-strict.spec.ts fix: strict mode on page.* methods on context level (#8324) 2021-08-19 23:08:28 +02:00
browsercontext-timezone-id.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
browsercontext-user-agent.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
browsercontext-viewport-mobile.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
browsercontext-viewport.spec.ts test: newContext works when both screen and viewport specified (#9520) 2021-10-18 10:45:47 -07:00
browsertype-basic.spec.ts test: remove browserOptions (#9829) 2021-10-27 19:00:06 -07:00
browsertype-connect.spec.ts fix(connect): make route.fulfill({ response }) work (#12006) 2022-02-10 12:05:04 -08:00
browsertype-launch-selenium.spec.ts test: move grid tests to installation-tests (#10418) 2021-11-18 15:32:09 -08:00
browsertype-launch-server.spec.ts test: remove browserOptions (#9829) 2021-10-27 19:00:06 -07:00
browsertype-launch.spec.ts test: remove browserOptions (#9829) 2021-10-27 19:00:06 -07:00
capabilities.spec.ts test: decrease threshold for flaky "should play audio" (#11878) 2022-02-04 16:14:48 -08:00
channels.spec.ts chore(tracing): add tracing to APIRequestContext (#11502) 2022-01-22 11:25:13 -08:00
component-parser.spec.ts feat: add key support on react engine (#11970) 2022-02-09 11:33:15 -08:00
css-parser.spec.ts fix(monorepo): explicitly list package.json exports instead of using glob patterns (#9584) 2021-10-19 12:28:02 -04:00
defaultbrowsercontext-1.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
defaultbrowsercontext-2.spec.ts test: reenable Chromium Windows cookies test (#11176) 2022-01-04 12:14:35 -08:00
download.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
downloads-path.spec.ts feat(acceptDownload): revert acceptDownload (#10709) 2021-12-06 09:25:24 -08:00
emulation-focus.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
favicon.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
geolocation.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
global-fetch-cookie.spec.ts fix(server): handle = in cookie values correctly (#11613) 2022-01-26 11:27:43 -08:00
global-fetch.spec.ts fix(fetch): do not throw on empty response body with br encoding (#11708) 2022-01-28 12:58:58 -08:00
har.spec.ts fix(test runner): resolve tsconfig for each file (#11662) 2022-01-26 18:28:42 -08:00
headful.spec.ts fix(chromium): close all javascript dialogs when closing context (#11614) 2022-01-25 13:52:18 -08:00
hit-target.spec.ts fix(drag&drop): relax layout shift logic when dropping (#11760) 2022-01-31 16:21:35 -08:00
ignorehttpserrors.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
launcher.spec.ts test: remove browserOptions (#9829) 2021-10-27 19:00:06 -07:00
logger.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
modernizr.spec.ts feat(webkit): roll to r1578 (#10323) 2021-11-15 08:43:51 -08:00
pdf.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
permissions.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
popup.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
port-forwarding-server.spec.ts test: add a test for fetch api respecting port forwarding (#12007) 2022-02-10 12:05:35 -08:00
proxy.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
resource-timing.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00
screenshot.spec.ts chore(chromium): Capture off-screen content without resizing viewport (#10606) 2021-11-30 14:11:15 -08:00
selector-generator.spec.ts feat(codegen): make selector generator strict (#11856) 2022-02-04 07:34:23 -08:00
selectors-register.spec.ts chore(zones): prepare to remove wrapApiCall, introduce zones (#10427) 2021-11-18 22:30:09 -08:00
signals.spec.ts fix: do not show taskkill.exe output (#10244) 2021-11-11 18:32:22 +01:00
slowmo.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
snapshotter.spec.ts fix(tracing): trace frame (#10846) 2021-12-17 10:43:19 -08:00
tap.spec.ts feat(input): restore modified layout shift check (#11032) 2022-01-03 17:46:04 -08:00
tracing.spec.ts test: request tracing start/stop (#11603) 2022-01-25 12:04:03 -08:00
tsconfig.json fix(test runner): resolve tsconfig for each file (#11662) 2022-01-26 18:28:42 -08:00
video.spec.ts test: skip test when run with PWTEST_TRACING (#11999) 2022-02-10 09:45:18 -08:00
web-socket.spec.ts test: introduce #smoke tests (#11135) 2021-12-29 18:51:28 -08:00