Web automation with Webdriver.io and API automation with postman/newman
- Node version 10.15.3 or higher
Choose one of the following options:
- Clone the git repo:
$ git clone https://github.com/majaklajic/giphy-automation.git
- Install the dependencies:
$ npm install
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
Run tests and generate HTML report:
$ cd api-tests/
$ npm install
$ npm run test-api