playwright/docs/src/test-api
Dmitry Gozman 25483452c0
feat(fixtures): per-fixture timeout (#12751)
By default, fixtures share timeout with the test they are instantiated for.
However, for more heavy fixtures, especially worker-scoped ones, it makes
sense to have a separate timeout.

This introduces `{ timeout: number }` option to the list of fixture options
that opts the fixture into a dedicated timeout rather than sharing it
with the test.
2022-03-17 09:36:03 -07:00
..
class-fixtures.md chore(fetch): rename ApiRequest* to APIRequest* (#9606) 2021-10-19 07:38:27 -07:00
class-test.md feat(fixtures): per-fixture timeout (#12751) 2022-03-17 09:36:03 -07:00
class-testconfig.md docs: fixed wrong types for WebServerConfig.cwd (#12817) 2022-03-16 12:14:12 +01:00
class-testerror.md docs(test runner): api reference for reporter api (#7811) 2021-07-22 19:56:36 -07:00
class-testinfo.md feat: support screenshotsDir option (#12642) 2022-03-10 16:50:26 -08:00
class-testoptions.md feat(test runner): support connectOptions (#11919) 2022-02-08 20:45:42 -08:00
class-testproject.md feat(toHaveScreenshot): enable sensible defaults (#12675) 2022-03-11 08:45:36 -08:00
class-workerinfo.md feat(test runner): introduce TestInfo.parallelIndex (#9762) 2021-11-01 10:37:34 -07:00