Skip to content

NazarAntoniuk19/SwagLabs_AT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebdriverIO E2E Tests for SwagLabs

Overview

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.

Features

  • Automated test execution for key functionalities of SauceDemo
  • Uses WebdriverIO with JavaScript
  • Page Object Model (POM) for better test structure
  • Supports parallel execution

Prerequisites

Ensure you have the following installed:

Installation

Clone this repository and install dependencies:

git clone <repository-url>
cd <repository-folder>
npm install

Running Tests

Run all tests:

npx wdio run ./wdio.conf.js

Run specific test:

npx wdio run ./wdio.conf.js --spec test.e8e.js

Test Structure

  • /specs: Contains test scripts
  • /pageobjects: Implements Page Object Model (POM)
  • wdio.conf.js: Configuration file for WebdriverIO

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published