playwright/packages
Dmitry Gozman c3beb71b07
fix(test runner): do not run automatic fixtures for beforeAll hooks (#14104)
There are a few issues this covers:
- Some fixtures like `page` and `context` are not allowed in `beforeAll`
  hooks, so using them in automatic fixture makes it throw.
- Running automatic fixture solely for `afterAll` is unexpected.
  This currently happens when `afterAll` is run for cleanup after
  fixture timeout/throw.

For built-in playwright fixture, we keep `'all-hooks-included'` auto mode.

Added a doc explaining the execution order.
2022-05-13 11:17:20 +01:00
..
html-reporter chore: add more ct options to allow redirecting templates/cache (#14077) 2022-05-10 12:21:29 -07:00
playwright chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
playwright-chromium chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
playwright-core chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
playwright-ct-react chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
playwright-ct-svelte chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
playwright-ct-vue chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
playwright-firefox chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
playwright-test fix(test runner): do not run automatic fixtures for beforeAll hooks (#14104) 2022-05-13 11:17:20 +01:00
playwright-webkit chore: cut v1.22.0 (#14098) 2022-05-12 11:12:01 -07:00
recorder fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
trace-viewer fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
web chore: add more ct options to allow redirecting templates/cache (#14077) 2022-05-10 12:21:29 -07:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00