Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix grammar within class test API documentation (#18627)

Chris Alley1ec614bfc4dd
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<TestArgs extends KeyValue, WorkerArgs extends KeyValue
* Specifies options or fixtures to use in a single test file or a
* [test.describe(title, callback)](https://playwright.dev/docs/api/class-test#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`.
+ * or inside `test.describe`. It is an error to call it within `beforeEach` or `beforeAll`.
*
* ```js
* import { test, expect } from '@playwright/test';