This project contains UI and API tests using Playwright. The tests are organized into two main folders: ui-tests
for UI testing and api-tests
for API testing.
ui-tests/ |-- checkers-game/ | |-- checkers-game.spec.ts | |-- ... |-- playwright.config.js
- Ensure dependencies are installed:
npm install
- Run the UI tests:
npx playwright test --project=ui-tests --ui
api-tests/ |-- card-game/ | |-- card-game.spec.ts
- Run the API tests:
npx playwright test --project=api-tests