prasforoffice / WebdriverIO-v7-API-E2E-Mobile

1 stars 0 forks source link

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

Requirements

Config Files

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