e2e tests for SSLs.com
Stack:
- Playwright https://playwright.dev/
- Clone repository
- Install the dependencies using
npm install
- Run tests in headless mode using
npx playwright test
- OR run tests in UI mode using
npx playwright test --ui
- OR run tests in GitHub Actions - restart the last job, example
|- configs # Configuration files
|- pages # Page object model
|- tests # Sets of tests
- By default, tests are run WITHOUT parallelism (1 worker for test file) in Chromium browser. To change this, you need to uncomment the corresponding parameters in
playwright.config.js
file (fullyParallel
andprojects
). - If needed - use
npx playwright show-report
after tests to generate a report.