#Typescript auto test (playwright and allure) for site www.redmine.org
Installation:
- Install node js
- install java 8
- install visual studio code
- Create new folder for your project
- Open this folder in terminal
- Run this code in terminal to install playwright :npm init playwright@latest
- Run this code in terminal to install allure :
- npm i -D allure-playwright
- npm i -D allure-commandline
- npm install -g allure-commandline --save-dev
Tests:Run this command in a terminal in visual studio code to tun the auto tests and get a report in allure:
- npx playwright test --reporter=line,allure-playwright
- When the auto test completes, run this command in the terminal:
- npx allure generate ./allure-results --clean
- For open the report in allure run this command in the terminal:
- npx allure open ./allure-report
- To run auto test again press ctrl+c in windows or command+c on mac machine, type 'y' in terminal and press enter