playwright/tests
Dmitry Gozman 70eca0401d
fix(test runner): avoid internal error for step end without begin (#8327)
fix(test runner): avoid internal error for step end without begin

Consider the following scenario:
- Test finishes and starts tearing down fixtures.
- Fixture teardown starts a step S and then times out.
- We declare the test finished (with timeout).
- Dispatcher shuts down the worker and spins a new one for a retry.
  Additionally, it clears steps information for the test to be
  ready for the new retry. Step S information is lost.
- Meanwhile, during worker teardown, the step S does
  actually finish (usually with an error), and we send stepEnd for S.
- Dispatcher does not know what to do with step S end and
  prints an internal error.

The fix is to ignore certain messages from the shutting down worker that failed.
2021-08-19 17:04:09 -07:00
..
android fix(android): fix android tests (#8209) 2021-08-15 22:54:30 -07:00
assets feat: support props matching in react and vue selectors (#8104) 2021-08-10 17:10:14 -07:00
chromium api(cdp): newCDPSession accepts frames, too (#8157) 2021-08-16 12:49:10 -07:00
config test: make borwsercontext-proxy tests use test proxy server (#8318) 2021-08-19 13:34:32 -07:00
electron chore: bring in folio source (#6923) 2021-06-06 17:09:53 -07: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: cleanup tests and configs after last folio update (#6463) 2021-05-08 17:45:04 -07:00
inspector feat(codegen): support --save-trace option (#8267) 2021-08-18 07:27:45 -07:00
page test: skip interception test in electron (#8240) 2021-08-19 16:44:13 +02:00
playwright-test fix(test runner): avoid internal error for step end without begin (#8327) 2021-08-19 17:04:09 -07:00
screenshot.spec.ts-snapshots test: roll to folio@0.4.0-alpha28 (#6918) 2021-06-04 20:54:58 -07:00
trace-viewer fix(tracing): improve captureStackTrace (#8236) 2021-08-16 17:06:38 -07:00
beforeunload.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
browser.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
browsercontext-add-cookies.spec.ts test: update sameSite cookie expectations on WebKit Win (#8138) 2021-08-11 10:27:41 -07:00
browsercontext-add-init-script.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
browsercontext-base-url.spec.ts test: add more baseURL tests for edge-cases (#7586) 2021-07-13 21:11:46 +02:00
browsercontext-basic.spec.ts Revert "feat: add defaultTimeout browser context configuration option (#6944)" (#7057) 2021-06-10 18:38:56 -07:00
browsercontext-clearcookies.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
browsercontext-cookies.spec.ts test: update sameSite cookie expectations on WebKit Win (#8138) 2021-08-11 10:27:41 -07:00
browsercontext-credentials.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
browsercontext-csp.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
browsercontext-device.spec.ts test: roll to folio@0.4.0-alpha13 (#6570) 2021-05-15 07:42:35 -07:00
browsercontext-dsf.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
browsercontext-expose-function.spec.ts Revert "chore(eval): merge internal evaluate functions (#7517)" (#7535) 2021-07-09 16:19:42 +02:00
browsercontext-locale.spec.ts feat(webkit): bump to 1492 (#6887) 2021-06-03 16:21:23 -07:00
browsercontext-network-event.spec.ts feat(network): expose network events via browser context (#6370) 2021-05-13 10:29:14 -07:00
browsercontext-page-event.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
browsercontext-pages.spec.ts test: roll to folio@0.4.0-alpha16 (#6656) 2021-05-20 09:51:09 -07:00
browsercontext-proxy.spec.ts test: make borwsercontext-proxy tests use test proxy server (#8318) 2021-08-19 13:34:32 -07:00
browsercontext-route.spec.ts feat(chromium): roll Chromium to M94 (#8047) 2021-08-09 13:57:17 -07:00
browsercontext-set-extra-http-headers.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
browsercontext-storage-state.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -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 feat(webkit): bump to 1492 (#6887) 2021-06-03 16:21:23 -07:00
browsercontext-user-agent.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
browsercontext-viewport-mobile.spec.ts test: move all page tests to a subdirectory (#6427) 2021-05-05 19:10:28 -07:00
browsercontext-viewport.spec.ts test(drag): add high dpi drag test (#7412) 2021-07-12 17:20:08 -05:00
browsertype-basic.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
browsertype-connect.spec.ts chore(protocol): do client hello instead of server hello (#8019) 2021-08-19 17:31:14 +02:00
browsertype-launch-server.spec.ts test: unskip a few tests previously skipped with channels (#6609) 2021-05-17 15:01:17 -07:00
browsertype-launch.spec.ts test: roll to folio@0.4.0-alpha8 (#6451) 2021-05-07 15:25:55 -07:00
capabilities.spec.ts fix(connect): respect timeout in all scenarios (#6762) 2021-05-26 15:18:52 -07:00
channels.spec.ts fix(tests): force a new worker for channels.spec (#6616) 2021-05-17 14:56:39 -07:00
component-parser.spec.ts feat: support props matching in react and vue selectors (#8104) 2021-08-10 17:10:14 -07:00
css-parser.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
defaultbrowsercontext-1.spec.ts test: update sameSite cookie expectations on WebKit Win (#8138) 2021-08-11 10:27:41 -07:00
defaultbrowsercontext-2.spec.ts feat(webkit): bump to 1492 (#6887) 2021-06-03 16:21:23 -07:00
download.spec.ts test: download event for navigations that change into downloads (#8167) 2021-08-12 09:34:32 -07:00
downloads-path.spec.ts fix: support relative downloadsPath directory for downloads (#6402) 2021-05-05 17:07:10 +02:00
emulation-focus.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
favicon.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
geolocation.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
har.spec.ts test: fix CR proxy tests on Windows (#7675) 2021-07-19 17:50:14 +02:00
headful.spec.ts feat(chromium): roll Chromium to M94 (#8047) 2021-08-09 13:57:17 -07:00
ignorehttpserrors.spec.ts fix(connect): respect timeout in all scenarios (#6762) 2021-05-26 15:18:52 -07:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
launcher.spec.ts fix: various test-related fixes (#6916) 2021-06-04 18:43:54 -07:00
logger.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
modernizr.spec.ts feat(webkit): roll WebKit to 1521 (#7798) 2021-07-23 09:13:57 -07:00
pdf.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
permissions.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
popup.spec.ts test: prepare test to use options as passed (#6557) 2021-05-13 10:22:23 -07:00
port-forwarding-server.spec.ts feat(proxy): support local.playwright for proxying (#8330) 2021-08-19 16:56:06 -07:00
proxy.spec.ts test(webkit): mark web socket over socks test as failing on Win (#7631) 2021-07-14 21:06:00 -07:00
resource-timing.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
screenshot.spec.ts test: roll to folio@0.4.0-alpha16 (#6656) 2021-05-20 09:51:09 -07:00
selector-generator.spec.ts test: roll to folio@0.4.0-alpha6 (#6366) 2021-04-30 13:26:13 -07:00
selectors-register.spec.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
signals.spec.ts test: roll to folio@0.4.0-alpha16 (#6656) 2021-05-20 09:51:09 -07:00
slowmo.spec.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
snapshotter.spec.ts fix(snapshots): account for malformed headers (#8241) 2021-08-16 17:40:46 -07:00
tap.spec.ts test: fix locator-misc-1 tests on Android (#7985) 2021-08-04 20:11:17 +02:00
tracing.spec.ts fix(tracing): serialize resource writes against trace export (#8296) 2021-08-19 07:26:24 -07:00
tsconfig.json test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
video.spec.ts chore: move working with browser channels to Registry Executables (#7581) 2021-07-13 19:03:49 -07:00
web-socket.spec.ts fix(websockets): filter for text and binary frames (#7360) 2021-06-28 21:23:29 +02:00