Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 809 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 809 Bytes

playwright-saucedemo

Playwright Tests for the Sauce Labs Sample App

Introduction

As an excercise for learning Playwright I've re-implementated the original tests for the Sauce Labs Sample App. I've used the same component-based approach as with the Playright TodoMVC demo. This example bit more complicated as it makes use of fixtures and different projects to handle authentication.

Projects Organization

There are several projects:

  • Login tests for each browser.
  • One project that just runs the authecation.
  • All other tests for each browser depend on the auth project above.

How to Run

npx playwright test