diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md index bf0e7d7ffd..2447554c17 100644 --- a/docs/src/test-api/class-testconfig.md +++ b/docs/src/test-api/class-testconfig.md @@ -443,9 +443,7 @@ Test files that took more than `threshold` milliseconds are considered slow, and * since: v1.45 - type: ?<[boolean]> -Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if -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. +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. ## property: TestConfig.retries * since: v1.10 diff --git a/docs/src/test-api/class-testproject.md b/docs/src/test-api/class-testproject.md index 9cb7870d39..562dc76e09 100644 --- a/docs/src/test-api/class-testproject.md +++ b/docs/src/test-api/class-testproject.md @@ -227,9 +227,7 @@ Use [`property: TestConfig.repeatEach`] to change this option for all projects. * since: v1.45 - type: ?<[boolean]> -Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if -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. +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. ## property: TestProject.retries * since: v1.10 diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index f0959e77d4..6dc3850f83 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -364,9 +364,9 @@ interface TestProject { repeatEach?: number; /** - * Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if neither - * [testConfig.retries](https://playwright.dev/docs/api/class-testconfig#test-config-retries) nor - * [testProject.retries](https://playwright.dev/docs/api/class-testproject#test-project-retries) are explicitely + * Whether to skip entries from `.gitignore` when searching for test files. By default, if neither + * [testConfig.testDir](https://playwright.dev/docs/api/class-testconfig#test-config-test-dir) nor + * [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 * behavior. */ @@ -1370,9 +1370,9 @@ interface TestConfig { }; /** - * Whether to skip entries from `.gitignore` when searching for test files. By default it is true, i.e. if neither - * [testConfig.retries](https://playwright.dev/docs/api/class-testconfig#test-config-retries) nor - * [testProject.retries](https://playwright.dev/docs/api/class-testproject#test-project-retries) are explicitely + * Whether to skip entries from `.gitignore` when searching for test files. By default, if neither + * [testConfig.testDir](https://playwright.dev/docs/api/class-testconfig#test-config-test-dir) nor + * [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 * behavior. */