NODE_EXTRA_CA_CERTS=/path/to/Globalsign.pemis included in environment variables.
Rename (or delete) Cypress cache if it exists. (Usually located at
npm install --global yarn
COSMOS> npm install cypress
COSMOS> cosmos-control.bat start
Open COSMOS in your browser. At the login screen, set the password to “password”.
Navigate to cypress folder, install testing dependencies with yarn.
[Optional] Fix istanbul/nyc coverage source lookups (use
fixlinuxif not on Windows).
Tests will run successfully without this step and you will get coverage statistics, but line-by-line coverage won’t work.
cypress> yarn run fixwindows
Open Cypress and run tests
cypress> yarn run cypress open
Code coverage reports can be viewed at cypress/coverage/lcov-report/index.html
Navigate to cosmos folder. Run the command:
cosmos> bundle exec rspec
Code coverage reports can be found at cosmos/coverage/index.html