This project automates tests for the Magento SoftwareTestingBoard website using Cypress.
- Clone the repo:
git clone https://github.com/mloic47/Qa-magento-cypress-automation.git cd Qa-magento-cypress-automation - Install dependencies
npm install
- Set up environment variables
Create a file named cypress.env.json or edit as it exists already in the root directory with the following and respecting that structure:
{ "validUser": { "firstName": "John", "lastName": "Doe", "email": "john.doe@example.com", "password": "StrongPass123" } - Run the Tests
To open Cypress GUI:
npx cypress open