Skip to content

rathorsunpreet/playwrightTest

Repository files navigation

Playwright Test

Typescript project to perform cross-browser test of DOM Elements of the site Art of Testing using Playwright and POM.

Installation

Download the package from Github and unzip it.

# Installs dependencies
npm install

# If the above does not work, then
npm install --only=dev

Usage

# To execute the tests
npm run test

# To execute the tests visually
npm run test-visual

# To execute the tests in an interactive manner
npm run interact

# To execute the debugger
npm run debug

# To generate a report after executing tests
npm run generate-report

# To view the generated HTML report
npm run show-report

License

MIT