Skip to content

Ro-Nemo/Playwright_Demo_SauceDemo

Repository files navigation

Playwright - Automated online shopping test demo in SauceDemo

Swag Labs, accessible via SauceDemo, is a demo e-commerce website designed for practicing automation testing scenarios, including login, product browsing, and checkout processes. It provides a controlled environment for testers to practice scripting and testing various aspects of e-commerce platforms.

Demo Video Available

SPECS:

"name": "playwright_demo_project",

"version": "1.0.0",

"devDependencies": {

"@faker-js/faker": "^9.8.0",

"@playwright/test": "^1.52.0",

"@types/node": "^22.15.17"

}, "dependencies": {

"dotenv": "^17.2.3"

}

FEATURES:

Playwright Test for VSCode - TypeScript + Gherkin.

FakerJS - Popular library that generates fake (but reasonable) data.

Page Object Models - Optimize maintenance in Login and User Pages.

Environment Variables - Not to store secrets like usernames and passwords in the source code

Credits: Ro-Nemo OCT/2025

About

About Playwright Automated test in SauceDemo portal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors