This repository contains end-to-end (E2E) tests for the SwagLabs website. The tests are built using WebdriverIO, ensuring automated validation of the website's functionality.
- Automated test execution for key functionalities of SauceDemo
- Uses WebdriverIO with JavaScript
- Page Object Model (POM) for better test structure
- Supports parallel execution
Ensure you have the following installed:
Clone this repository and install dependencies:
git clone <repository-url>
cd <repository-folder>
npm install
Run all tests:
npx wdio run ./wdio.conf.js
Run specific test:
npx wdio run ./wdio.conf.js --spec test.e8e.js
- /specs: Contains test scripts
- /pageobjects: Implements Page Object Model (POM)
- wdio.conf.js: Configuration file for WebdriverIO
This project is licensed under the MIT License.