https://github.com/abdulwahab0/upzaar_cypress_tests
https://github.com/abdulwahab0/upzaar_cypress_tests
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abdulwahab0/upzaar_cypress_tests
- Owner: AbdulWahab0
- Created: 2024-04-19T20:04:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T20:07:07.000Z (over 1 year ago)
- Last Synced: 2025-02-26T12:32:25.356Z (8 months ago)
- Language: HTML
- Size: 25.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Upzaar API Automation testing using Cypress
This project automates different API responses from Upzaar GraphQL API using the Cypress.
## Upzaar GraphQL API
- API Documentation: https://developers.upzaar.com/docs/api-guides:## Requirements
- Any computer: Mac, Windows, Linux
- Node 12.0.0+ (LTS)
- git
## About project- Cypress is used as Test automation framework
- For reports cucumber-html-reporter is used
- Cypress parallel is implemented to execute test in parallel
- cucumber-json-merge is used to consolidate test
- Used chai-sorted assertion### In order to get the code and install dependencies
- ``` git clone https://github.com/buttercloud/upzaar_tests.git ```
- ``` cd upzaar_tests ```
- ``` npm install ```### Execute test on cypress test runner locally
- ``` npm run cy:open ```
### Execute test on cypress terminal
- ``` npm run cypress:ci ```
### Execute test on electron browser locally
- ``` npm run e2e:electron```
### Following is the report path
./reports/index.html
### Screenshots
Failed test screenshot available at: upzaar_tests/cypress/screenshots/