Address comments

This commit is contained in:
Yury Semikhatsky 2024-05-23 11:34:13 -07:00
parent ef8bf2526b
commit 93151843eb
3 changed files with 8 additions and 12 deletions

View file

@ -443,9 +443,7 @@ Test files that took more than `threshold` milliseconds are considered slow, and
* since: v1.45 * since: v1.45
- type: ?<[boolean]> - type: ?<[boolean]>
Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if Whether to skip entries from `.gitignore` when searching for test files. By default, if neither [`property: TestConfig.testDir`] nor [`property: TestProject.testDir`] are explicitely specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that behavior.
neither [`property: TestConfig.retries`] nor [`property: TestProject.retries`] are explicitely specified,
Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that behavior.
## property: TestConfig.retries ## property: TestConfig.retries
* since: v1.10 * since: v1.10

View file

@ -227,9 +227,7 @@ Use [`property: TestConfig.repeatEach`] to change this option for all projects.
* since: v1.45 * since: v1.45
- type: ?<[boolean]> - type: ?<[boolean]>
Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if Whether to skip entries from `.gitignore` when searching for test files. By default, if neither [`property: TestConfig.testDir`] nor [`property: TestProject.testDir`] are explicitely specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that behavior.
neither [`property: TestConfig.retries`] nor [`property: TestProject.retries`] are explicitely specified,
Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that behavior.
## property: TestProject.retries ## property: TestProject.retries
* since: v1.10 * since: v1.10

View file

@ -364,9 +364,9 @@ interface TestProject<TestArgs = {}, WorkerArgs = {}> {
repeatEach?: number; repeatEach?: number;
/** /**
* Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if neither * Whether to skip entries from `.gitignore` when searching for test files. By default, if neither
* [testConfig.retries](https://playwright.dev/docs/api/class-testconfig#test-config-retries) nor * [testConfig.testDir](https://playwright.dev/docs/api/class-testconfig#test-config-test-dir) nor
* [testProject.retries](https://playwright.dev/docs/api/class-testproject#test-project-retries) are explicitely * [testProject.testDir](https://playwright.dev/docs/api/class-testproject#test-project-test-dir) are explicitely
* specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that * specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that
* behavior. * behavior.
*/ */
@ -1370,9 +1370,9 @@ interface TestConfig<TestArgs = {}, WorkerArgs = {}> {
}; };
/** /**
* Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if neither * Whether to skip entries from `.gitignore` when searching for test files. By default, if neither
* [testConfig.retries](https://playwright.dev/docs/api/class-testconfig#test-config-retries) nor * [testConfig.testDir](https://playwright.dev/docs/api/class-testconfig#test-config-test-dir) nor
* [testProject.retries](https://playwright.dev/docs/api/class-testproject#test-project-retries) are explicitely * [testProject.testDir](https://playwright.dev/docs/api/class-testproject#test-project-test-dir) are explicitely
* specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that * specified, Playwright will ignore any test files matching `.gitignore` entries. This option allows to override that
* behavior. * behavior.
*/ */