Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 824 Bytes

README.md

File metadata and controls

71 lines (46 loc) · 824 Bytes

Giphy E2E and API test

Web automation with Webdriver.io and API automation with postman/newman

Requirements

  • Node version 10.15.3 or higher

Quick start

Choose one of the following options:

  1. Clone the git repo:
$ git clone https://github.com/majaklajic/giphy-automation.git
  1. Install the dependencies:
$ npm install

How to run E2E tests

Run all tests:

$ npm run test-all

Run all tests with Browserstack:

$ npm run test-all-browserstack

Run init test:

$ npm run test-init

Run login test:

$ npm run test-login

Run upload tests:

$ npm run test-upload

Run search tests:

$ npm run test-search

How to run API tests

Run tests and generate HTML report:

$ cd api-tests/
$ npm install
$ npm run test-api