This Cypress automated test framework is designed to ensure the quality and reliability of essential https://coe-webstore.tdlbox.com Desktop online store functionalities through automated testing procedures. These test does not support mobile. It is part of the TDL TestDevLab Summer challenge bootcamp.
Full test plan can be found here: https://tdlschool.atlassian.net/browse/TSS22N-265
- navigate to project root directory
- run
npm installto install dependencies - by using template file in the root directory
cypress.env.json.templatecreate a copy of it namedcypress.env.jsonin the project root and replace "INSERT_YOUR_EMAIL" and "INSERT_YOUR_PASSWORD" with pre-created test user email and password - run
npm run cypress-openornpm run cypress-run(for headless test execution)
- To quickly format all code in the repo run
npm run format - To quickly delete all mochawesome reports run
report-cleanup - To run a single test file run
npx cypress run --spec "cypress/e2e/coe-webstore/complete_journey.cy.js"