Skip to content

Commit

Permalink
add authenticated and ignoreConsoleErrors options
Browse files Browse the repository at this point in the history
  • Loading branch information
tryb3l committed Nov 18, 2024
1 parent 863c1e8 commit 3269d39
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions e2e/lib/utils/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import '@playwright/test';

declare module '@playwright/test' {
interface PlaywrightTestOptions {
/**
* Indicates whether the test should run as an authenticated (logged-in) user.
* @default false
*/
authenticated?: boolean;

/**
* An array of console error messages to ignore during test execution.
*/
ignoreConsoleErrors?: string[];
}
}

0 comments on commit 3269d39

Please sign in to comment.