docs: fix the api review typos (#31071)

This commit is contained in:
Pavel Feldman 2024-05-30 12:15:52 -07:00 committed by GitHub
parent 5708148496
commit f97d87ea5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 6 deletions

View File

@ -189,7 +189,7 @@ All responses returned by [`method: APIRequestContext.get`] and similar methods
* since: v1.45
- `reason` <[string]>
The reason to be reported to the operations interrupted by the context disposure.
The reason to be reported to the operations interrupted by the context disposal.
## async method: APIRequestContext.fetch
* since: v1.16

View File

@ -443,7 +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, 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.
Whether to skip entries from `.gitignore` when searching for test files. By default, if neither [`property: TestConfig.testDir`] nor [`property: TestProject.testDir`] are explicitly specified, Playwright will ignore any test files matching `.gitignore` entries.
## property: TestConfig.retries
* since: v1.10

View File

@ -15877,7 +15877,7 @@ export interface APIRequestContext {
*/
dispose(options?: {
/**
* The reason to be reported to the operations interrupted by the context disposure.
* The reason to be reported to the operations interrupted by the context disposal.
*/
reason?: string;
}): Promise<void>;

View File

@ -1374,9 +1374,8 @@ interface TestConfig<TestArgs = {}, WorkerArgs = {}> {
/**
* 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.
* [testProject.testDir](https://playwright.dev/docs/api/class-testproject#test-project-test-dir) are explicitly
* specified, Playwright will ignore any test files matching `.gitignore` entries.
*/
respectGitIgnore?: boolean;