@nx/playwright
Version:
39 lines • 1.25 kB
TypeScript
import { ExecutorContext } from '@nx/devkit';
export interface PlaywrightExecutorSchema {
browser?: 'all' | 'chromium' | 'firefox' | 'webkit' | string;
config?: string;
debug?: boolean;
lastFailed?: boolean;
forbidOnly?: boolean;
fullyParallel?: boolean;
grep?: string;
globalTimeout?: number;
grepInvert?: string;
testFiles?: string[];
headed?: boolean;
ignoreSnapshots?: boolean;
workers?: number | string;
list?: boolean;
maxFailures?: number | boolean;
noDeps?: boolean;
output?: string;
passWithNoTests?: boolean;
project?: string[];
quiet?: boolean;
repeatEach?: number;
reporter?: 'list' | 'line' | 'dot' | 'json' | 'junit' | 'null' | 'github' | 'html' | 'blob';
retries?: number;
shard?: string;
timeout?: number;
trace?: 'on' | 'off' | 'on-first-retry' | 'on-all-retries' | 'retain-on-failure';
updateSnapshots?: boolean;
ui?: boolean;
uiHost?: string;
uiPort?: number;
skipInstall?: boolean;
}
export declare function playwrightExecutor(options: PlaywrightExecutorSchema, context: ExecutorContext): Promise<{
success: boolean;
}>;
export default playwrightExecutor;
//# sourceMappingURL=playwright.impl.d.ts.map