From bedb817a005c10f30be581d20f706be368d94b78 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 2 Nov 2021 16:51:41 +0100 Subject: [PATCH] docs(test-runner): worker fixtures only in before/after-All (#9967) --- docs/src/test-api/class-test.md | 4 ++-- packages/playwright-test/types/test.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/test-api/class-test.md b/docs/src/test-api/class-test.md index a1afdaf0ac..c61d7aaa70 100644 --- a/docs/src/test-api/class-test.md +++ b/docs/src/test-api/class-test.md @@ -66,7 +66,7 @@ Declares an `afterAll` hook that is executed once after all tests. When called i ### param: Test.afterAll.hookFunction - `hookFunction` <[function]\([Fixtures], [TestInfo]\)> -Hook function that takes one or two arguments: an object with fixtures and optional [TestInfo]. +Hook function that takes one or two arguments: an object with worker fixtures and optional [TestInfo]. @@ -157,7 +157,7 @@ You can use [`method: Test.afterAll`] to teardown any resources set up in `befor ### param: Test.beforeAll.hookFunction - `hookFunction` <[function]\([Fixtures], [TestInfo]\)> -Hook function that takes one or two arguments: an object with fixtures and optional [TestInfo]. +Hook function that takes one or two arguments: an object with worker fixtures and optional [TestInfo]. diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.ts index b25096948f..c2d9d80497 100644 --- a/packages/playwright-test/types/test.d.ts +++ b/packages/playwright-test/types/test.d.ts @@ -2504,7 +2504,7 @@ export interface TestType Promise | any): void; /** @@ -2512,7 +2512,7 @@ export interface TestType Promise | any): void; /**