mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(playwright): browser name is strictly typed (#26046)
This commit is contained in:
@@ -96,7 +96,9 @@ export interface E2EPage extends Page {
|
||||
_e2eEvents: Map<number, any>;
|
||||
}
|
||||
|
||||
export type BrowserNameOrCallback = string | ((browserName: string) => boolean);
|
||||
type BrowserName = 'chromium' | 'firefox' | 'webkit';
|
||||
|
||||
export type BrowserNameOrCallback = BrowserName | ((browserName: BrowserName) => boolean);
|
||||
|
||||
export interface E2ESkip {
|
||||
rtl: (reason?: string) => void;
|
||||
|
||||
Reference in New Issue
Block a user