playwright/tests
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
..
android chore: hide plugins for now (#13908) 2022-05-03 14:25:56 -07:00
assets chore: make React selectors work on React 18 (#13864) 2022-05-03 13:46:52 -07:00
components test(ct): test react native events (#14079) 2022-05-10 14:01:06 -07:00
config feat(locators): remove layout locators (#14129) 2022-05-12 18:50:19 +01:00
electron chore: hide plugins for now (#13908) 2022-05-03 14:25:56 -07:00
installation devops: follow-up with installation tests on flakienss dashbaord (#14015) 2022-05-07 09:17:07 -07:00
library test: make "outerWidth and outerHeight" test work on small screens (#14124) 2022-05-12 18:46:03 +01:00
page feat(locators): remove layout locators (#14129) 2022-05-12 18:50:19 +01:00
playwright-test fix(test runner): do not run automatic fixtures for beforeAll hooks (#14104) 2022-05-13 11:17:20 +01:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00