Playwright Tests for the Sauce Labs Sample App
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.
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.
npx playwright test