This repository holds all the behavioral test for testing the default content for CGDP.
The tests use cypress-cucumber-preprocessor and cypress. For more information on the folder structures, etc, you should familiarize yourself with cypress.
...other steps...
Please add /// <reference types="Cypress" />
to the top of each JS file to get Cypress intellesense. There is some issue where the Cypress documentation is nor working correctly.
admin_username
is already provided
The admin_password
value needs to be added via command line
to open cypress UI console
CYPRESS_admin_password='value' npx cypress open
to run in a headless mode
CYPRESS_admin_password='value' npx cypress run
where value is the password ( can be found in digital-platform slack channel topic )
npm ci
CYPRESS_BASE_URL='https://www-dev-ac.cancer.gov' CYPRESS_admin_password='value' npx cypress run
where value is the password ( can be found in digital-platform slack channel topic )