mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

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.