diff --git a/docs/src/test-advanced-js.md b/docs/src/test-advanced-js.md index e357b0e92b..94b82f2c54 100644 --- a/docs/src/test-advanced-js.md +++ b/docs/src/test-advanced-js.md @@ -16,7 +16,7 @@ These options define your test suite: - `name: string` - Project name, useful when defining multiple [test projects](#projects). - `outputDir: string` - Output directory for files created during the test run. - `repeatEach: number` - The number of times to repeat each test, useful for debugging flaky tests. -- `retries: number` - The maximum number of retry attempts given to failed tests. If not specified, failing tests are not reried. +- `retries: number` - The maximum number of retry attempts given to failed tests. If not specified, failing tests are not retried. - `testDir: string` - Directory that will be recursively scanned for test files. - `testIgnore: string | RegExp | (string | RegExp)[]` - Files matching one of these patterns are not considered test files. - `testMatch: string | RegExp | (string | RegExp)[]` - Only the files matching one of these patterns are considered test files. diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md index 07616906cf..0b4d74d459 100644 --- a/docs/src/test-api/class-testconfig.md +++ b/docs/src/test-api/class-testconfig.md @@ -219,7 +219,7 @@ Tests that took more than `threshold` milliseconds are considered slow, and the ## property: TestConfig.retries - type: <[int]> -The maximum number of retry attempts given to failed tests. By default failing tests are not reried. Learn more about [test retries](./test-retries.md#retries). +The maximum number of retry attempts given to failed tests. By default failing tests are not retried. Learn more about [test retries](./test-retries.md#retries). ## property: TestConfig.shard - type: <[Object]> diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.ts index 0421aed84a..12b594d7ab 100644 --- a/packages/playwright-test/types/test.d.ts +++ b/packages/playwright-test/types/test.d.ts @@ -537,7 +537,7 @@ interface TestConfig { */ repeatEach?: number; /** - * The maximum number of retry attempts given to failed tests. By default failing tests are not reried. Learn more about + * The maximum number of retry attempts given to failed tests. By default failing tests are not retried. Learn more about * [test retries](https://playwright.dev/docs/test-retries#retries). */ retries?: number;