UNPKG

ctrlshiftleft

Version:

AI-powered toolkit for embedding QA and security testing into development workflows

11 lines (10 loc) 565 B
import { TestScenario, TestTemplate } from '../types/testTypes'; /** * Generate a Playwright test file from test scenarios * @param scenarios Test scenarios to include * @param sourcePath Path to the source file (for documentation) * @param usePageObjects Whether to use Page Object Model pattern * @param useTestData Whether to use Test Data Factory pattern * @returns Test template with content */ export declare function generatePlaywrightTest(scenarios: TestScenario[], sourcePath: string, usePageObjects?: boolean, useTestData?: boolean): TestTemplate;