This repo contains a e2e test and the functional test for the Homage application module.
e2e automation test covers the working order of the application page in a start-to-finish process.
Functional test covers the validation of the application page.
The steps below will take you all the way through Cypress. It is assumed you have nothing installed except for node + git.
npm install cypress
Follow these instructions to install Cypress.
-
cd into the cloned repo. /Homage_UI_e2e
- Open the project using IDE.
- cd into the cloned repo using the terminal.
- < your folder path > /Homage_UI_e2e
- Run the code in the terminial
npm run cypress:open
This opens the cypress application.
-
You are at the
Welcome to Cypress
screen. -
Select the
E2E Testing
which has already configured . -
Choose a Browser ( Chrome Or Edge ).
-
Select
Specs
from the left menu. -
Under E2E specs,
i. Select
e2e_onboarding.cy.js
for the e2e test.ii. Select
func_formValidation.cy.js
for the functional test.
- Run the code in the terminial
npm run cypress:run
This opens the headless browser testing.