Skip to content

asharbinkhalil/wdiocuc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

wdiocuc is a web automation project designed to purchase products based on temperature using WebdriverIO and Cucumber. The project includes automated tests that navigate through a shopping website, add products to the cart based on the temperature, and complete the purchase process.

Project Structure


├── .gitignore
├── features/
│   ├── pageobjects/
│   │   ├── cart.page.ts
│   │   ├── home.page.ts
│   │   ├── moisturizers.page.ts
│   │   ├── page.ts
│   │   ├── paymentConfirmation.page.ts
│   │   ├── sunscreens.page.ts
│   ├── shop.feature
│   ├── step-definitions/
│   │   ├── shop.steps.ts
├── package.json
├── README.md
├── reports/
│   ├── json/
│   │   ├── report.json
│   │   ├── ...
├── tsconfig.json
├── wdio.conf.ts

Installation

  1. Clone the repository:

    git clone https://github.com/asharbinkhalil/wdiocuc.git
    cd wdiocuc
  2. Install dependencies:

    npm install

Running Tests

To execute the tests, run the following command:

npx wdio run wdio.conf.ts

Project Details

Page Objects

  • Home Page
  • Cart Page
  • Moisturizers Page
  • Sunscreens Page
  • Payment Confirmation Page

Feature File

  • Shop Feature

Step Definitions

  • Shop Steps

Configuration

  • TypeScript Configuration
  • WebdriverIO Configuration

Reports

Test reports are generated in the reports/json

About

UI testing with webdriverio and cucumber

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published