UNPKG

@nx/playwright

Version:

The Nx Plugin for Playwright contains executors and generators allowing your workspace to use the powerful Playwright integration testing capabilities.

35 lines (32 loc) 843 B
import type { Linter, LinterType } from '@nx/eslint'; export interface ConfigurationGeneratorSchema { project: string; /** * this is relative to the projectRoot **/ directory?: string; js?: boolean; // default is false skipFormat?: boolean; skipPackageJson?: boolean; skipInstall?: boolean; linter?: Linter | LinterType; setParserOptionsProject?: boolean; // default is false /** * command to give playwright to run the web server * @example: "npx nx serve my-fe-app" **/ webServerCommand?: string; /** * address * @example: "http://localhost:4200" **/ webServerAddress?: string; rootProject?: boolean; addPlugin?: boolean; } export interface NormalizedGeneratorOptions extends ConfigurationGeneratorSchema { addPlugin: boolean; directory: string; linter: Linter | LinterType; }