This course is Master Playwright V1.41 + Docker, Cucumber, Jenkins - FEB'24
Run:
- Run 3 workers in parallel mode:
- Run specific test at specific browser
- npx playwright test --headed --project=chromium
-
Run specific test
- npx playwright test hookTests.spec.ts --project=chromium --headed
-
Install Luxon (https://www.npmjs.com/package/luxon)
- npm install -D luxon
-
Run test on smoke folder
- In playwright config.ts : testDir: "./tests/smoke",
- Run test: npx playwright test --headed --project=chromium
- npx allure generate ./allure-results/ --clean
- npx allure open ./allure-report/
-
Clone project
- Install dependency: npm install
- Run test: npm run test