Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Add e2e test #532

Open
ishabaral opened this issue May 13, 2024 · 4 comments
Open

[FEATURE REQUEST] Add e2e test #532

ishabaral opened this issue May 13, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ishabaral
Copy link

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.

@treoden treoden added enhancement New feature or request help wanted Extra attention is needed labels May 13, 2024
@ishabaral
Copy link
Author

I want to contribute by doing the following things:

  • add setup files for e2e tests
  • add GitHub CI workflow
  • write e2e test for admin to create, view and search a product

@treoden
Copy link
Collaborator

treoden commented May 13, 2024

Hi @ishabaral ,

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

@ishabaral
Copy link
Author

Hi @ishabaral ,

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

Sure

@treoden treoden assigned ishabaral and unassigned treoden May 13, 2024
@prashant-gurung899
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants