Playwright automation on Typescript
- Requirements
- Coverage
- Environment variables
- How to install
- How to run
- CI
- Reporting
- Notifications
- Examples
- Maintainer
Typescript | Node.js | Playwright | CircleCI | Github Actions | Allure Report | Telegram |
---|---|---|---|---|---|---|
[TBD]
URL | Env2 |
---|---|
[TBD] | [TBD] |
To install all packages from package.json use command
npm i
To run the tests, use the command:
npm test
To run tests with an open browser, use the command:
npm run test:headed
To check your code, run eslint with the command:
npm run lint
And other commands in scripts in package.json
You can use two CI's in this project:
CircleCI | Github Actions |
---|---|
- To run tests with Allure
npm run test:allure
- To open Allure Report page
allure serve
You have telegram notifications after running tests in CI.
In a folder <project_name>/tests/**
you can find some test examples.
✍️ 📱 Telegram - @Leitirion