playwright/tests/library
Ross Wollman 2ee235ff1b
test: fix flaky SW tests (#15536)
The Service Worker tests had some races in them that only were apparent
on the bots. To repro, I ran the tests with:

```
xvfb-run taskset -c 0 npm run ctest -- chromium.spec.ts --headed --reporter=line --repeat-each 10 --workers=1
```

Just because Playwright has a SW, does not mean the worker has fully loaded
it's main/import scripts.
2022-07-11 13:56:38 -07:00
..
chromium test: fix flaky SW tests (#15536) 2022-07-11 13:56:38 -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 feat(inspector): add keyboard shortcuts (#12014) (#15326) 2022-07-07 11:25:48 -07:00
screenshot.spec.ts-snapshots feat(webkit): roll to r1674 (#15384) 2022-07-08 11:07:06 -07:00
beforeunload.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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 browser(ff-beta): roll Firefox-Beta to 103.0b5 (#15394) 2022-07-05 15:47:35 -07: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 chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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 feat(chromium-tip-of-tree): roll to r1016 (#14912) 2022-06-16 19:36:37 +02:00
browsercontext-credentials.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-dsf.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-expose-function.spec.ts chore: do not reset internal bindings for reuse (#14019) 2022-05-09 07:44:20 -07:00
browsercontext-fetch.spec.ts chore: make tests pass on Node.js 17+ (#13678) 2022-04-22 13:42:52 +02:00
browsercontext-har.spec.ts chore: allow updating har while routing (#15197) 2022-06-28 15:09:36 -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: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-pages.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-proxy.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-route.spec.ts fix(route): match against updated url while chaining (#15112) 2022-06-24 10:48:16 -07: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: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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 chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsercontext-user-agent.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -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 tests(fixit): garden win/webkit/input tests (#14721) 2022-06-08 14:13:39 -08: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: use utils via index export (4) (#13404) 2022-04-07 14:36:13 -07:00
browsertype-launch-selenium.spec.ts chore: make tests pass on Node.js 17+ (#13678) 2022-04-22 13:42:52 +02:00
browsertype-launch-server.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
browsertype-launch.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
capabilities.spec.ts tests: mark certain tests as failing on Firefox Headed (#14286) 2022-05-19 09:06:31 -07:00
channels.spec.ts test: fix some flaky failures (#15314) 2022-07-01 13:57:33 -07:00
component-parser.spec.ts chore: split injected utils into proper files (#14093) 2022-05-11 13:49:12 +01:00
css-parser.spec.ts chore: use utils via index export (6) (#13417) 2022-04-07 21:48:41 -07:00
defaultbrowsercontext-1.spec.ts test: mark driver mode as remote (#15402) 2022-07-06 09:20:07 -07:00
defaultbrowsercontext-2.spec.ts feat(har): re-add routeFromHAR (#15024) 2022-06-21 22:12:37 -07:00
download.spec.ts test: mark driver mode as remote (#15402) 2022-07-06 09:20:07 -07:00
downloads-path.spec.ts test: mark driver mode as remote (#15402) 2022-07-06 09:20:07 -07:00
emulation-focus.spec.ts test(ff): fix headed tests (#14764) 2022-06-09 12:56:07 -07:00
favicon.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
geolocation.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
global-fetch-cookie.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
global-fetch.spec.ts chore: add CI to default user agent (#15450) 2022-07-07 21:43:47 +02:00
har.spec.ts feat(har): introduce the slim mode (#15053) 2022-06-22 14:44:12 -07:00
headful.spec.ts feat(chromium-tip-of-tree): roll to r1023 (#15447) 2022-07-07 19:21:58 +02:00
hit-target.spec.ts test: increase small timeouts to accomodate two workers (#15257) 2022-06-30 09:05:39 -07:00
ignorehttpserrors.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
launcher.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
logger.spec.ts chore: experimental resetForReuse (#15432) 2022-07-11 13:10:08 -07:00
modernizr.spec.ts feat(webkit): roll to r1667 (#14960) 2022-06-21 14:04:52 -07:00
pdf.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
permissions.spec.ts feat(chromium): roll to r1008 (#14448) 2022-05-30 15:04:05 +02:00
playwright.config.ts test: stress runners (#15078) 2022-06-23 15:55:12 -07:00
popup.spec.ts test: unskip viewport size test (#15268) 2022-06-30 15:58:11 +02:00
port-forwarding-server.spec.ts chore: make tests pass on Node.js 17+ (#13678) 2022-04-22 13:42:52 +02:00
proxy.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
resource-timing.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
role-utils.spec.ts test: split accname, fix select preventing context closure 2022-06-09 13:58:22 -07:00
screenshot.spec.ts chore: bundle core deps (#13621) 2022-04-18 20:20:49 -07:00
selector-generator.spec.ts fix(codegen): use name attribute for frame elements (#14609) 2022-06-02 21:14:01 -07:00
selectors-register.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
signals.spec.ts test: run "should remove temp dir on process.exit" on windows (#13568) 2022-04-14 16:07:03 -07:00
slowmo.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
snapshotter.spec.ts test: remove stray logging (#13572) 2022-04-14 16:58:09 -07:00
tap.spec.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
trace-viewer.spec.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
tracing.spec.ts feat(har): introduce the slim mode (#15053) 2022-06-22 14:44:12 -07:00
video.spec.ts test: mark driver mode as remote (#15402) 2022-07-06 09:20:07 -07:00
web-socket.spec.ts chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00