Skip to content

prasforoffice/WebdriverIO-v7-API-E2E-Mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebdriverIO-v7-API-E2E-Mobile

This is an E2E integration tests project for testing ParaBank application (https://parabank.parasoft.com/parabank/index.htm).In this project user interacts with Parabank web application and creates new accounts, carries out Bill payment transactions and perfroms relevant validations across screens.

These tests are developed in Javascript with WebDriverIO V7 and Mocha

Features

  • Javascript
  • Page Object Design Pattern
  • Applitools Eyes
  • Spec reporter
  • Allure report (screenshots on failure as well passed steps)
  • SuperTest for API testing
  • Automatic capture and export of API response
  • Mocha awesome report for API tests

Requirements

Config Files

  • WebdriverIO configuration is fully customizable, and different functions can be invoked before, during and after each test or test suite. Config files can be found in the ./test/config/ directory and end with *.conf.js. These can be called via the the cli.

Getting Started

Install the dependencies:

    npm install

Run e2e tests:

    npm run e2e

Run mobile tests:

    npm run mobile

Run visual regression test (Applitools):

    npm run vr

Run API tests :

    npm run api

Reports

Spec

Test reporter, that prints detailed results to console.

Allure

Run this command to generate the allure report in the directory ./test/reports/allure-report:

    npm run rg

You can run this command to start a server on your machine and open the allure report on the browser:

    npm run ro

Mocha Awesome Report

Mocha HTML report with ApiTestReport.html would be generated in this path - test/reports/apiTest

Automatic API response export

Responses of API services captured can be found in it respective files under path test/reports/apiResponse

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published