Scalable UI E2E framework on Playwright + TypeScript.
npm install
npm run pw:install
cp .env.example .env
npm run test:smokenpm test
npm run test:smoke
npm run test:regression
npm run test:ui-contract
npm run test:visual
npm run reportTEST_ENV=local|stage|prodLOCAL_BASE_URL,STAGE_BASE_URL,PROD_BASE_URLmust be set in.envTEST_USER_EMAILandTEST_USER_PASSWORDare required for auth tests
configs/environment, projects, timeout settingssrc/corebase abstractions/helperssrc/componentsreusable UI componentssrc/pagespage objectssrc/flowsbusiness flowssrc/fixturesPlaywright test fixturessrc/datafaker-based test data factoriessrc/utilsutilitiestests/smoke/regression/contract/visual testsscripts/local/CI helper scripts.github/workflowsCI pipelines
- Test data is generated dynamically from
src/data/**via faker-style generators (src/utils/faker.ts). - If
@faker-js/fakeris installed, the framework uses it automatically. - Do not store real credentials in repository files.
- Keep credentials only in
.env(local) and CI secret storage.