playwright/packages
Dmitry Gozman 47045ba48d
chore(test runner): run hooks/modifiers as a part of the test (#12329)
chore(test runner): run hooks/modifiers as a part of the test

This moves `beforeAll`, `afterAll` and some modifiers from running
as a separate entity into running inside a test.

Pros:
- All errors are reported as test errors.
- All artifacts are collected as test artifacts.
- Reporters support this out of the box.

Details:
- Each test computes the necessary hooks to run and runs them.
- Teardown is usually performed during the test (on test failure or worker stop).
- `skipRemaining` is added to `DonePayload` to preserve the behavior
  where `beforeAll` hook failure skips subsequent tests.
  This behavior can now be improved to only target tests affected by this hook.
2022-02-28 11:42:47 -08:00
..
html-reporter feat(html): put diff first in image comparison (#12254) 2022-02-22 11:29:58 -08:00
playwright chore: cut v1.19.0 (#11944) 2022-02-08 16:01:44 -08:00
playwright-chromium chore: cut v1.19.0 (#11944) 2022-02-08 16:01:44 -08:00
playwright-core feat(chromium): roll to r974924 (#12377) 2022-02-26 07:52:27 +01:00
playwright-firefox chore: cut v1.19.0 (#11944) 2022-02-08 16:01:44 -08:00
playwright-test chore(test runner): run hooks/modifiers as a part of the test (#12329) 2022-02-28 11:42:47 -08:00
playwright-webkit chore: cut v1.19.0 (#11944) 2022-02-08 16:01:44 -08: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