Behave is a template repository that helps you set up a Cucumber and Playwright-based end-to-end testing framework quickly.
The repository contains the following initial test features:
Location: features/auth.feature
This feature includes scenarios related to the authentication functionality. You can write test cases to cover different authentication scenarios such as login, logout, password reset, etc.
Location: features/ticket.feature
This feature includes scenarios related to ticketing functionality. You can write test cases to cover various ticketing scenarios like creating tickets, updating ticket details, searching for tickets, etc.
To get started with Behave, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/behave.git
- Install dependencies:
npm install
(make sure you have Node.js and npm installed) - Write your own feature files or modify the existing ones to suit your project requirements.
- Implement the step definitions for your scenarios in the
tests
folder using Playwright APIs.
Feel free to customize this repository according to your specific needs and add more features and scenarios as your testing requirements evolve.
If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request. Contributions are always welcome!
This project is licensed under the MIT License.