This test suite contains Cypress tests to validate two main user flows 1 - New User Registration 2 - Course Enrollment
- Node.js installed on your machine.
- Cypress installed. You can install it using the command
npm install cypress --save-dev. It will install the latest version.
This test suite has used v13.6.6 using npm install cypress@13.6.6
- Clone this repository:
git clone <repository-url> - Navigate to the project directory
cd <project-directory> - Install dependencies:
npm install - Open Cypress:
npx cypress open - In the Cypress Test Runner, click on the test spec (verifyNewUserAccount.ts) to run.
- Followed page object design pattern
- I have used disposable email id for the new user email use case. It might be expired by the time you test it. Please insert a new email id for the key in cypress.env.json file to test it.
AUTOMATION-PROJECT
└── cypress
└── e2e
└── verifyCourseEnrollment.ts
└── verifyNewUserAccount.ts
└── cypress.config.ts