Skip to content

Leitirion/Playwright-tests

Repository files navigation

Playwright automation on Typescript

Table of contents


Requirements

Typescript Node.js Playwright CircleCI Github Actions Allure Report Telegram

Coverage

[TBD]


Environment variables

URL Env2
[TBD] [TBD]

How to install

To install all packages from package.json use command

npm i

How to run

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


CI

You can use two CI's in this project:

CircleCI Github Actions
CircleCI ui-checks

Reporting

  1. To run tests with Allure
npm run test:allure
  1. To open Allure Report page
allure serve

alt "AllureReport"

Notifications

You have telegram notifications after running tests in CI.


Examples

In a folder <project_name>/tests/** you can find some test examples.


Maintainer

github.com/leitirion

✍️ 📱 Telegram - @Leitirion

About

Playwright automation on Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published