playwright/tests/library
Dmitry Gozman 74ec8c243a
cherry-pick(#24145): fix(snapshots): match resources by method (#24147)
Fixes #24144.

Previously, we only matched by url, which confuses GET and HEAD requests
where the latter is usually zero-sized.

Also make sure that resources are sorted by their monotonicTime, since
that's not always the case in the trace file, where they are sorted by
the "response body retrieved" time.
2023-07-10 22:10:57 -07:00
..
chromium fix(cr network): emit sw-handled requests when routing is enabled (#23589) 2023-06-08 10:33:28 -07:00
emulation-focus.spec.ts-snapshots feat(webkit): roll to r1674 (#15384) 2022-07-08 11:07:06 -07:00
firefox chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
inspector fix(codegen): generate no Enter keyboard events for textareas (#23775) 2023-06-19 17:07:37 +02:00
screenshot.spec.ts-snapshots feat(webkit): roll to r1674 (#15384) 2022-07-08 11:07:06 -07:00
beforeunload.spec.ts fix: make evaluate not wait for scheduled navigations (#23402) 2023-05-31 14:08:44 -07:00
browser.spec.ts feat(browser): add Browser.BrowserType() method (#14468) 2022-06-06 09:46:08 -07:00
browsercontext-add-cookies.spec.ts test: unskip WK tests (#21033) 2023-02-21 23:49:14 +01:00
browsercontext-add-init-script.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-base-url.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-basic.spec.ts test: skip new tests that don't work in non-default mode (#22369) 2023-04-12 15:15:34 -07:00
browsercontext-clearcookies.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-cookies.spec.ts test: update stale test expectations (#20423) 2023-01-27 21:52:34 -08:00
browsercontext-credentials.spec.ts devops: add bot for Chromium --headless=new (#23440) 2023-06-02 20:40:12 +02: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: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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 feat: browserContext.on('dialog'/'console') (#22805) 2023-05-04 15:11:46 -07:00
browsercontext-expose-function.spec.ts fix(reuse): workaround long sw unregister (#19930) 2023-01-06 17:02:40 -08: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: move fetch proxy tests in its own file (#22936) 2023-05-10 10:47:40 -07:00
browsercontext-har.spec.ts chore: update routeFromHAR options for release (#21764) 2023-03-17 11:49:45 -07:00
browsercontext-locale.spec.ts feat(webkit): roll to r1658 (#14709) 2022-06-08 10:16:49 -07:00
browsercontext-network-event.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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 test: relax event location expectation (#22668) 2023-04-26 17:22:01 -07:00
browsercontext-proxy.spec.ts test: unflake some tests (#23984) 2023-06-30 13:08:18 -07:00
browsercontext-reuse.spec.ts fix(reuse): reset mouse position in Firefox (#22973) 2023-05-12 13:21:49 -07:00
browsercontext-route.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02: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 chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02: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 chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-user-agent.spec.ts test: enable user agent override for download in Chromium (#23479) 2023-06-02 15:02:54 -07:00
browsercontext-viewport-mobile.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsertype-connect.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02: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 chore: handle unexpected ws response (#17714) 2022-09-29 14:04:19 -07:00
browsertype-launch.spec.ts test: use custom browser binary for connnect tests (#22900) 2023-05-10 09:30:56 +02:00
capabilities.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
channels.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
component-parser.spec.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08: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 fix(pause): ignore page.pause on the server (#23417) 2023-06-02 08:32:30 -07: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: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02: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 chore: introduce minimal viewport for WebKit/Windows/headed (#22956) 2023-05-11 17:54:05 +02:00
favicon.spec.ts chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
fetch-proxy.spec.ts chore: move fetch proxy tests in its own file (#22936) 2023-05-10 10:47:40 -07:00
geolocation.spec.ts test: unflake a few tests (#15959) 2022-07-27 11:27:53 -07:00
global-fetch-cookie.spec.ts feat(fetch): happy eyeballs (#19902) 2023-01-05 14:39:49 -08:00
global-fetch.spec.ts chore: move fetch proxy tests in its own file (#22936) 2023-05-10 10:47:40 -07:00
har.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02: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 fix: emit load/domcontentloaded events as reported by the browser (#16861) 2022-08-26 13:48:05 -07:00
launcher.spec.ts test: run more tests in 'service' mode (#20734) 2023-02-07 18:25:33 -08:00
locator-generator.spec.ts fix: display testId as regex in trace-viewer (#23361) 2023-05-30 17:45:48 +02:00
logger.spec.ts test: run more tests in 'service' mode (#20734) 2023-02-07 18:25:33 -08:00
modernizr.spec.ts test: update macos 12 test expectations (#16223) 2022-08-03 14:51:11 -07:00
page-event-crash.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
pdf.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
permissions.spec.ts devops: add bot for Chromium --headless=new (#23440) 2023-06-02 20:40:12 +02:00
playwright.config.ts devops: do not upload test-results artifacts (#23168) 2023-05-19 13:06:42 -07:00
popup.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02: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 chore: remove experimental dockerfile.remote (#20790) 2023-02-09 12:18:02 -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 chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
selector-generator.spec.ts fix(selector generator): use the same label definition as getByLabel (#23846) 2023-06-22 08:34:08 -07: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 chore: replace sigint handler per browser with a single one (#23317) 2023-05-30 13:54:04 -07:00
slowmo.spec.ts chore: explicitly control actions with slow mo (#22445) 2023-04-17 16:19:30 -07:00
snapshotter.spec.ts cherry-pick(#24145): fix(snapshots): match resources by method (#24147) 2023-07-10 22:10:57 -07:00
tap.spec.ts chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
trace-viewer.spec.ts cherry-pick(#24145): fix(snapshots): match resources by method (#24147) 2023-07-10 22:10:57 -07:00
tracing.spec.ts cherry-pick(#24106): fix(trace): do not allow after w/o before 2023-07-10 21:29:24 +04:00
video.spec.ts devops: add bot for Chromium --headless=new (#23440) 2023-06-02 20:40:12 +02:00
web-socket.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00