docs: fix typo retried (#9562)

This commit is contained in:
Feng Yu 2021-10-16 10:24:03 +08:00 committed by GitHub
parent 99f3389b3b
commit 0160c18f7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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]>

View file

@ -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;