vendure-ecommerce / vendure

The commerce platform with customization in its DNA.
https://www.vendure.io
Other
5.79k stars 1.03k forks source link

[FEATURE REQUEST] Add e2e test #3215

Open anon-pradip opened 6 days ago

anon-pradip commented 6 days ago

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.

martijnvdbrug commented 15 hours 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?