Skip to content

Lornus/playwright-tests

Repository files navigation

Repo with playwright tests

workflow


What is here:

  1. almost all tasks from http://uitestingplayground.com/ done
  2. for sample app created isolated directory
  3. tests for https://www.saucedemo.com/

Installation

git clone 
npm i 

Running with docker

docker pull lornus/playwright-tests
Run image

For running in headless tests for Ui Playground

npm run ui-playground-test-headless 

For running in headed tests for Ui Playground

npm run ui-playground-test-headed

For running in headless tests for Sauce Demo

npm run sauce-labs-test-headless

For running in headed tests for Sauce Demo

npm run sauce-labs-test-headed

For running all tests

npm test

For generating report

npm run allure-generate

For opening report

npm run allure-open