Skip to content

NAL-i5K/i5k-tripal-cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

##Cypress Testing##

  • System requirements before running the cypress test: -- Node.js 12 or 14 and above

Please follow the instruction to setup node and npm to your local https://docs.npmjs.com/downloading-and-installing-node-js-and-npm

  • install all dependencies from the root directory cd /nal-i5k-tripal-cypress/ npm install

  • and open Cypress GUI cd /nal-i5k-tripal-cypress/cypress

npm run cy:open or npx cypress open

  • Auto_scripts folder carry sanity testing npm cy:open --spec cypress/integration/auto_scripts/content-type/*.spec.js

  • Running from the CLI -- Same as running Cypress GUI but with 'cypress run' command (and any CLI arguments)

run Cypress tests headlessly

npm run cy:run or npx cypress run

  • runs all example projects in specific browser -- similar to cypress run --browser npm run cypress:run -- --browser chrome

Installing cyress:

https://docs.cypress.io/guides/getting-started/installing-cypress

Installation

Install Cypress via npm: cd into /nal-i5k-tripal-cypress/ npm install cypress --save-dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors