Open anon-pradip opened 6 days ago
Hi, thanks for your suggestion. There are quite a few e2e tests in place already. We are currently using vitest. Each module is tested against different types of DB's, node version etc.
What kind of e2e tests are you missing?
Is your feature request related to a problem? Please describe. The repository currently lacks any end-to-end (e2e) tests. I recommend adding e2e tests to the repository to ensure code robustness.
Describe the solution you'd like I propose adding e2e tests to the repository utilizing Playwright and Cucumber. These tools offer a robust framework for Behavior-Driven Development (BDD) testing, allowing us to define test scenarios in plain language and automate interactions with the application.
Describe alternatives you've considered While there are other e2e testing frameworks available, such as Selenium or TestCafe, Playwright offers several advantages, including cross-browser support and improved speed and reliability. Cucumber provides a structured approach to BDD testing, enhancing readability and collaboration among team members.
Additional context Adding e2e tests will significantly enhance the quality of the codebase by identifying potential issues early in the development cycle. It will also increase confidence in code changes and facilitate smoother deployments.