Skip to content

test: Enhance Cucumber scenarios and test coverage#230

Open
bharathkorsi wants to merge 1 commit intoautomationExamples:mainfrom
bharathkorsi:main
Open

test: Enhance Cucumber scenarios and test coverage#230
bharathkorsi wants to merge 1 commit intoautomationExamples:mainfrom
bharathkorsi:main

Conversation

@bharathkorsi
Copy link
Copy Markdown

Summary

This PR enhances the Playwright Cucumber framework by completing missing scenarios and extending test coverage.

Changes

  • Fixed login page title validation issue
  • Added validation for locked user login error message
  • Implemented test coverage end-to-end purchase flow scenario
  • Added product sorting validation by price (for both low to high and high to low) using Scenario Outline
  • Extended test coverage with cart badge validation (add/remove item)
  • Added Fixed.md file with all the fixed implemented
  • Also added current cucumber coverage report that was generated after running npm run report

Improvements

  • Improved test reliability with proper assertions
  • Followed Page Object Model for maintainability
  • Added reusable step definitions

Result

This improves overall test coverage, stability, and maintainability of the framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant