From 1ec614bfc4dd488e8c037022c7d169566dae3a05 Mon Sep 17 00:00:00 2001 From: Chris Alley Date: Fri, 11 Nov 2022 12:53:48 +1300 Subject: [PATCH] docs: fix grammar within class test API documentation (#18627) --- docs/src/test-api/class-test.md | 2 +- packages/playwright-test/types/test.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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