A minimal testing framework for running JavaScript test scripts using Playwright.
- Install dependencies:
npm install
- Install Playwright browsers:
npx playwright install
Run all tests in headless mode:
npm test
Run tests with UI mode (interactive):
npm run test:ui
Run tests from the tests folder specifically:
npm run test:file
Run a specific test file:
npx playwright test tests/test-script-2025-05-30.js
test-script-2025-05-30.js
- Contains tests for the Dev trivia website