An example project demonstrating automated UI tests using JavaScript-based end-to-end testing framework Cypress with Page Object Model pattern.
We are using EA Employee App as the Application Under Test.
- URL : http://eaapp.somee.com/
Install the dependencies and devDependencies to run the test.
- Clone this repo on your local machine
- Navigate to project's directory on terminal and run the following commands:
npm install
Run the following command in Terminal to execute tests in Headless mode:
npm test
Run the following command in Terminal to open Cypress Test Runner:
npm run cypress
You can find the Mochawesome report in the following directory of the Project.
\cypress\reports\mochareports
Open 'report.html' file to view the report.