diff --git a/docs/src/test-api/class-test.md b/docs/src/test-api/class-test.md index bcf62e3add..a8ce1d6a5d 100644 --- a/docs/src/test-api/class-test.md +++ b/docs/src/test-api/class-test.md @@ -1553,7 +1553,7 @@ Step body. ## method: Test.use * since: v1.10 -Specifies options or fixtures to use in a single test file or a [`method: Test.describe#1`] group. Most useful to set an option, for example set `locale` to configure `context` fixture. `test.use` can be called either in the global scope or inside `test.describe`, it's is an error to call it within `beforeEach` or `beforeAll`. +Specifies options or fixtures to use in a single test file or a [`method: Test.describe#1`] group. Most useful to set an option, for example set `locale` to configure `context` fixture. `test.use` can be called either in the global scope or inside `test.describe`. It is an error to call it within `beforeEach` or `beforeAll`. ```js tab=js-js const { test, expect } = require('@playwright/test'); diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.ts index cfcd50fe38..cd901b6ea8 100644 --- a/packages/playwright-test/types/test.d.ts +++ b/packages/playwright-test/types/test.d.ts @@ -2579,7 +2579,7 @@ export interface TestType