End-to-end test suite for LoopQA built with Playwright.
- Node.js 18+
- npm
npm install
npx playwright install# Run all tests
npm test
# Run in headed mode (see the browser)
npm run test:headed
# Run with Playwright UI
npm run test:ui
# Debug tests
npm run test:debug
# View HTML report
npm run report| File | Coverage |
|---|---|
homepage.spec.ts |
Homepage load, hero section, key elements |
navigation.spec.ts |
Nav links, menu structure, routing |
contact.spec.ts |
Contact form, validation, submission |
services.spec.ts |
Services page content and layout |
Tests run automatically on push and pull request via GitHub Actions. See .github/workflows/playwright.yml.