End-to-end UI and API test automation for Elitea, built with Playwright.
This repository hosts the Playwright-based test automation suite for Elitea. It turns manual test cases into maintainable, honest automated tests — reliable in CI and clear about what they verify.
- Playwright — browser automation and test runner
- Node.js — runtime
- Playwright MCP — configured
in
.mcp.jsonfor agent-assisted authoring and debugging
- Node.js 18 or newer
- npm (bundled with Node.js)
# Install dependencies
npm install
# Install Playwright browsers
npx playwright install
# Configure environment (copy and fill in real values)
cp .env.example .env# Run the full suite
npx playwright test
# Run in headed mode
npx playwright test --headed
# Run a single spec
npx playwright test path/to/spec.ts
# Open the HTML report
npx playwright show-report.
├── tests/
│ ├── fixtures/env.ts # fail-fast env loader (BASE_URL, ELITEA_EMAIL, ELITEA_PASSWORD)
│ └── bootstrap.spec.ts # scaffold-proving smoke test
├── playwright.config.ts
├── .env.example # copy to .env and fill in real values
├── .mcp.json # Playwright MCP server configuration
└── README.md
- Branch from
mainusingfeat/,fix/,chore/, ordocs/prefixes. - Keep tests independent and deterministic — no reliance on execution order or shared state.
- Never mask product defects with skipped or weakened assertions; file a ticket instead.