Skip to content

magarwal19/cypress_with_bdd

Repository files navigation

Getting started

###Prerequisite:

  1. NodeJs should be installed on machine.
  2. install ruby 2.6.6-1(X64) from https://rubyinstaller.org/downloads/
  3. install dependency(MSYs2), if not installed during RUBY installation, run below command:
  4. ridk install
  5. install nokogiri
  6. gem install nokogiri
  7. install hiptest-publisher
  8. gem install hiptest-publisher

To execute the automation suite:

  • Clone this repo

  • npm install to install all req'd dependencies

  • npm run getFeatureFiles --test-run-id=407464 to pull the feature files from HipTest/CucumberStudio (Replace 402901 with run id)

  • npm run testE2E -- --env env='qa' --headed --browser chrome to run the cypress test using command line

  • npm run generateHTMLReport to generate BDD reports

  • To run from cypress runner, run command : ./node_modules/.bin/cypress open

About

cypress with BDD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published