Skip to content

Files

Latest commit

author
James Kip
Mar 30, 2023
0e7c7a0 · Mar 30, 2023

History

History
46 lines (32 loc) · 1.02 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.02 KB

Playwright Tests CircleCI

gaws

Core user flow: Swag Labs

  • Login
  • Unsuccessful login with locked out user
  • Single product & checkout
  • Multiple product & checkout
  • Sort inventory
  • Remove item from cart

CRUD /pet: Swagger Petstore

  • Create pet
  • Read pet
  • Update pet
  • Delete pet

Install

npm install

Run tests

npm test

View report

npx playwright show-report

Create snapshots

To emulate your CI Linux box and generate snapshots

docker run -v $(pwd):/gaws mcr.microsoft.com/playwright:v1.32.1-focal bash -c 'cd gaws && npm run test'