Skip to content

Playwright Automated Tests JavaScript Demo, GitHub Actions used to run tests on spec files push

Notifications You must be signed in to change notification settings

kiseta/playwright_demo

Repository files navigation

Playwright Demo Project

Playwright Automated Testing Tool Demo, GitHub Actions used to run the tests on push

Prerequisites

You will need the following installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd playwright-demo
  • npm install

Running Playwright tests (runs headless by default)

npx playwright test

or headed

npx playwright test --headed

or headed with nicely formatted html report

npx playwright test --headed --reporter=html

on specific browser

npx playwright test --browser=firefox

on all browsers

npx playwright test --browser=all

DEBUGging Playwright tests

to run in DEBUG mode, run the following command in terminal

$env:PWDEBUG=1

then

npx playwright test

About

Playwright Automated Tests JavaScript Demo, GitHub Actions used to run tests on spec files push

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published