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. |
||
|---|---|---|
| .. | ||
| bundles | ||
| src | ||
| types | ||
| .npmignore | ||
| cli.js | ||
| index.d.ts | ||
| index.js | ||
| index.mjs | ||
| package.json | ||
| README.md | ||
| reporter.d.ts | ||
| reporter.js | ||
| reporter.mjs | ||
| ThirdPartyNotices.txt | ||
@playwright/test
This package contains Playwright Test. A test-runner for writing idiomatic and reliable end-to-end tests with Playwright.