Skip to content

Ranjit005/CypressTest

Repository files navigation

cy-fy

Cypress automation testing. Simple and neat folder structure in combination with typescript will help you write test faster.

Get started

System Requirement

  • Git (download form here)
  • Node (download from here)
  • Chrome, Firefox Edge or any other browser

Project setup

  • Git clone the project
  • install dependencies by npm install

Run Tests locally

Setup local env

Many of the features of the automation project relies on credentials that are stored on github secrets for security reasons. When running locally you will need to update cypress.json with these properties

"env": {
    "STAGING_TOKEN": "",
    "STAGING_USER": "",
    "STAGING_PASS": "",
    "MAILOSAUR_API_KEY": "",
    "MAIL_SERVER_ID": "",
    "MAIL_SERVER_DOMAIN": "",
    "OKTA_OPS_USEROKTA_OPS_PASS": ""
  }

for the actual values of the properties ask on the #qa slack channel

Open and Run Cypress on UI mode

// locate on the project root folder and execute:
node_modules/.bin/cypress open
//Then select the feature that you will like to run

Run Cypress from command line

// locate on the project root folder and execute:
node_modules\\.bin\\cypress run --headed

Run Cypress from command line on headless mode

// locate on the project root folder and execute:
node_modules\\.bin\\cypress run --headed

About

Cypress Automation Framework for UI and API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published