F
Flagship Production-style Playwright automation framework
Bilol Abdurasul
UI and API test coverage

Test fast. Debug clearly. Ship with proof.

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.

Core capabilities

Built for maintainable automation, not brittle scripts.

Playwright, TypeScript, React.js, Javascript, Cypress, GitHub Actions

Page Object Model

Selectors and user actions stay reusable, which cuts duplication and makes test intent easier to read.

Data-driven suites

JSON and CSV inputs keep scenarios flexible without rewriting core test logic for every variation.

Environment switching

Separate dev, staging, and prod base URLs make the same suite portable across release stages.

Debug artifacts

Retries, traces, screenshots, logs, and videos reduce guesswork when failures only happen in CI.

Architecture flow

How the framework runs end to end.

Config loader

Environment variables select target URLs, retry behavior, headless mode, and worker settings.

Playwright runner

The runner orchestrates UI tests, API tests, sharding, retries, and artifact collection.

Execution layers

UI tests use page objects and test data; API tests route through a dedicated client layer.

Reporting and CI

HTML and Allure outputs are generated for local review and pipeline artifact publishing.

Runbook

Common commands.

Install npm install npx playwright install
Run suites npm test npm run test:ui npm run test:api
Open reports npm run report:html npm run report:allure:generate npm run report:allure:open
Container run docker compose up --build