The tests are run using cypress.
- Download the latest nodeJS from nodeJS
- The tests are found inside
/cypress/integration/Tests
- Start the Crew App Server
http://localhost:3000from the Application Solution
npm installnpx cypress openORnpm run cypressOpen[to Run the tests opening the Cypress App]npm run test[to Run the tests as headless from Command Line]npm run testChrome[to Run the tests in Chrome Browser]npm run testFirefox[to Run the tests in Firefox Browser]
- Run the tests in the Headless mode
npm run test - Screenshots are generated under
screenshotsfolder - Videos are generated under
videosfolder - Reports are generated under
reportsfolder [currently HTML reports are Enabled]
docker run -it -v $PWD:/e2e -w /e2e --entrypoint=cypress cypress/included:3.2.0 run[for Mac machine]docker run -it -v "%cd%":/e2e -w /e2e --entrypoint=cypress cypress/included:3.2.0 run[for Windows machine]- App will be available on http://localhost:3000