Template for test automation utilizing vanilla JS and Cypress
This is a sample Page Object Model (POM) framework for web application test automation using Cypress.
- cypress/integration: Contains test files.
- cypress/support: Contains support files such as commands and utilities.
- cypress/pages: Contains classes representing web pages with their locators and methods.
- Clone the repository.
- Ensure you have Node.js and npm installed.
- Install Cypress globally by running
npm install -g cypress
. - Open Cypress using
cypress open
. - Run the tests from the Cypress test runner.
- This framework uses Cypress for test automation.
- Page objects are defined in the
cypress/pages
directory. - Test files are located in the
cypress/integration
directory.
Feel free to modify and expand this framework as needed for your project.