Page Object Model
Selectors and user actions stay reusable, which cuts duplication and makes test intent easier to read.
Flagship combines Playwright, TypeScript, data-driven testing, CI execution, and rich reporting into a single QA framework designed for realistic delivery pipelines instead of demo-only scripts.
Selectors and user actions stay reusable, which cuts duplication and makes test intent easier to read.
JSON and CSV inputs keep scenarios flexible without rewriting core test logic for every variation.
Separate dev, staging, and prod base URLs make the same suite portable across release stages.
Retries, traces, screenshots, logs, and videos reduce guesswork when failures only happen in CI.
Environment variables select target URLs, retry behavior, headless mode, and worker settings.
The runner orchestrates UI tests, API tests, sharding, retries, and artifact collection.
UI tests use page objects and test data; API tests route through a dedicated client layer.
HTML and Allure outputs are generated for local review and pipeline artifact publishing.
npm install
npx playwright install
npm test
npm run test:ui
npm run test:api
npm run report:html
npm run report:allure:generate
npm run report:allure:open
docker compose up --build