How to run e2e locally for development - CDCgov/prime-simplereport GitHub Wiki
We use cypress to run e2e locally - without okta or
-
Make sure you install all node and gradle dependencies for
frontend
,cypress
, andbackend
-
Start
db
,frontend
, andbackend
from the Intellij run menu
- once started, run the cyress in either open or headless mode
e2e local headless
: this will run e2e in headless mode (like how ci runs it)e2e local open
: this will open the UI for cypress, you will need to run the tests sequentially since they depend on each other
Note: some test fixtures require okta to pass, so there are some expected failures such as 08-account_creation.cy.js
but none of the other tests depend on it