Skip to content

This project demonstrates end-to-end testing using Playwright, covering various web application testing scenarios such as cross-browser testing, UI interactions, and automation. It includes tests for user flows, form validations, and page navigation with detailed reporting and headless execution.

License

Notifications You must be signed in to change notification settings

darvinpatel/playwright-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practice test automation with Playwright Logo on Swag Labs

Note

  • Swag Labs is basic online store with required login from Sauce Labs. Great for example web UI tests.

PLaywright features

End to End testing using:

This tests are purely for Playwright features practice, usage of Page Object Model.

Getting Started

Prerequisites

Install Playwright and browser binaries for Chromium, Firefox and WebKit.

npm i -D playwright

You need to have Node.js installed.

Useful Commands

Run All Tests

npm run play:test

Run Tests for Sorting Feature

npm run test-s

Run Tests for Login Feature

npm run test-l

Run Tests for Cart Feature

npm run test-c

About

This project demonstrates end-to-end testing using Playwright, covering various web application testing scenarios such as cross-browser testing, UI interactions, and automation. It includes tests for user flows, form validations, and page navigation with detailed reporting and headless execution.

Topics

Resources

License

Stars

Watchers

Forks