Performing API Automation Testing
Software Requirements
Installation
npm install cypress --save-devConfiguration
Usage
npx cypress opennpx cypress runLast updated
Was this helpful?
The /e2e-tests folder comprises guardian Cypress test automation framework and automated UI and API tests
Node.js 12 or 14 and above
Follow steps from the README to install and deploy Guardian application
From /e2e-tests folder run the following command to install Cypress:
npm install cypress --save-devIn cypress.env.json file update authorization key with access_key value which will be assigned to the RootAuthority after registration (bearerAuth)
To run a specific test from UI you can open Cypress dashboard by running the following command:
npx cypress openTo run all tests sequentially use:
npx cypress runFor a single test use:
Last updated
Was this helpful?
Was this helpful?
npx cypress run --spec path/to/file.cy.js