feat: update overrides-test.d.ts
This commit is contained in:
parent
b1609e50d4
commit
b0ccd000e0
1367
packages/playwright/types/test.d.ts
vendored
1367
packages/playwright/types/test.d.ts
vendored
File diff suppressed because it is too large
Load diff
19
utils/generate_types/overrides-test.d.ts
vendored
19
utils/generate_types/overrides-test.d.ts
vendored
|
|
@ -110,11 +110,20 @@ export interface TestType<TestArgs extends KeyValue, WorkerArgs extends KeyValue
|
||||||
fixme(): void;
|
fixme(): void;
|
||||||
fixme(condition: boolean, description?: string): void;
|
fixme(condition: boolean, description?: string): void;
|
||||||
fixme(callback: (args: TestArgs & WorkerArgs) => boolean, description?: string): void;
|
fixme(callback: (args: TestArgs & WorkerArgs) => boolean, description?: string): void;
|
||||||
fail(title: string, body: (args: TestArgs & WorkerArgs, testInfo: TestInfo) => Promise<void> | void): void;
|
fail: {
|
||||||
fail(title: string, details: TestDetails, body: (args: TestArgs & WorkerArgs, testInfo: TestInfo) => Promise<void> | void): void;
|
(title: string, body: (args: TestArgs & WorkerArgs, testInfo: TestInfo) => Promise<void> | void): void;
|
||||||
fail(condition: boolean, description?: string): void;
|
(title: string, details: TestDetails, body: (args: TestArgs & WorkerArgs, testInfo: TestInfo) => Promise<void> | void): void;
|
||||||
fail(callback: (args: TestArgs & WorkerArgs) => boolean, description?: string): void;
|
(condition: boolean, description?: string): void;
|
||||||
fail(): void;
|
(callback: (args: TestArgs & WorkerArgs) => boolean, description?: string): void;
|
||||||
|
(): void;
|
||||||
|
only: {
|
||||||
|
(title: string, body: (args: TestArgs & WorkerArgs, testInfo: TestInfo) => Promise<void> | void): void;
|
||||||
|
(title: string, details: TestDetails, body: (args: TestArgs & WorkerArgs, testInfo: TestInfo) => Promise<void> | void): void;
|
||||||
|
(condition: boolean, description?: string): void;
|
||||||
|
(callback: (args: TestArgs & WorkerArgs) => boolean, description?: string): void;
|
||||||
|
(): void;
|
||||||
|
}
|
||||||
|
}
|
||||||
slow(): void;
|
slow(): void;
|
||||||
slow(condition: boolean, description?: string): void;
|
slow(condition: boolean, description?: string): void;
|
||||||
slow(callback: (args: TestArgs & WorkerArgs) => boolean, description?: string): void;
|
slow(callback: (args: TestArgs & WorkerArgs) => boolean, description?: string): void;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue