Skip to content

Solara6/csh_frame

Repository files navigation

csh-e2e-playwright

Scalable UI E2E framework on Playwright + TypeScript.

Quick start

npm install
npm run pw:install
cp .env.example .env
npm run test:smoke

Test commands

npm test
npm run test:smoke
npm run test:regression
npm run test:ui-contract
npm run test:visual
npm run report

Environments

  • TEST_ENV=local|stage|prod
  • LOCAL_BASE_URL, STAGE_BASE_URL, PROD_BASE_URL must be set in .env
  • TEST_USER_EMAIL and TEST_USER_PASSWORD are required for auth tests

Project structure

  • configs/ environment, projects, timeout settings
  • src/core base abstractions/helpers
  • src/components reusable UI components
  • src/pages page objects
  • src/flows business flows
  • src/fixtures Playwright test fixtures
  • src/data faker-based test data factories
  • src/utils utilities
  • tests/ smoke/regression/contract/visual tests
  • scripts/ local/CI helper scripts
  • .github/workflows CI pipelines

Data and secrets policy

  • Test data is generated dynamically from src/data/** via faker-style generators (src/utils/faker.ts).
  • If @faker-js/faker is installed, the framework uses it automatically.
  • Do not store real credentials in repository files.
  • Keep credentials only in .env (local) and CI secret storage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors