evershopcommerce / evershop

🛍️ NodeJS E-commerce Platform
https://evershop.io/
GNU General Public License v3.0
3.69k stars 982 forks source link

[FEATURE REQUEST] Add e2e test #532

Open ishabaral opened 2 weeks ago

ishabaral commented 2 weeks 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.

ishabaral commented 2 weeks ago

I want to contribute by doing the following things:

treoden commented 2 weeks ago

Hi @ishabaral ,

I really appreciated for your support. Can I assign the ticket to you for the above items? Thanks

ishabaral commented 2 weeks ago

Hi @ishabaral ,

I really appreciated for your support. Can I assign the ticket to you for the above items? Thanks

Sure

prashant-gurung899 commented 2 weeks ago

Hey @treoden , I think we need to run these tests in CI also. So, I have created an issue here: https://github.com/evershopcommerce/evershop/issues/535. And I will be making a PR for this issue to setup CI.