evershopcommerce / evershop

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

Add e2e tests for admin login feature #564

Open prashant-gurung899 opened 5 months ago

prashant-gurung899 commented 5 months ago

Added e2e tests using Cucumber(Gherkin Syntax) and Playwright browser automation tool to test admin login feature.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Currently, Evershop hasn't implemented any testing(e2e-end to end). There are no tests to validate the expected behaviour of Evershop. Manual testing is required to verify the functionality, which is time-consuming and prone to human error.

Issue Number: https://github.com/evershopcommerce/evershop/issues/532

What is the new behavior?

Added test scenarios in Gherkin Language for e2e test of admin login feature where the tests should:

Does this PR introduce a breaking change?

Other information