This is a skeleton repository that provides a basic setup for Cypress with Cucumber and Page Object Model pattern. It includes Allure reporting integration.
- Cypress with Cucumber for BDD testing
- Page Object Model implementation
- Allure reporting integration
- Basic example test implementation
cypress/
├── e2e/
│ └── features/ # Feature files
├── pages/ # Page Objects
└── support/
├── e2e.js # Support file
└── step_definitions/ # Step definitions
- Clone the repository
- Install dependencies:
npm installRun tests with Allure reporting:
npx cypress run --env allure=trueGenerate and open Allure report:
npx allure generate allure-results --clean
npx allure openThe project follows the Page Object Model pattern for better maintainability:
- Each page has its own class in
cypress/pages/ - Page objects contain selectors and methods for interacting with the page
- Step definitions use page objects to perform actions
The repository includes a basic example showing:
- Feature file with scenarios
- Page object implementation
- Step definitions using page objects
- Test execution with Allure reporting