WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

auto-qa-hub/saucedemo_playwright

Repository files navigation

Automated tests for saucedemo.com

Description

This suite of automated tests for the Saucedemo.com website is built using Playwright 🎭, a powerful tool for automating web application testing. The primary goal is to ensure the functionality and stability of the frontend user interface, providing a seamless experience for site visitors.

Installation

  1. Clone the repository
  2. Navigate to the project directory
  3. Install dependencies: npm install

Running Tests

  • Run all tests: npx playwright test
  • Run a specific test: npx playwright test tests/test-name.spec.ts
  • Run in UI mode: npx playwright test --ui

Project Structure

  • 📁 tests/ – Contains all the test files.

    • 📁 pages/ – Includes page object pattern (POP) files for structuring interactions with pages.
    • 📄 .spec.ts – Test files.
  • ⚙️ playwright.config.ts – Playwright configuration file for browser settings and test environment configurations.

  • 📁 fixtures/ – Contains fixtures.

  • 📁 utils/ – Utility functions for reusable tasks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •