Skip to content

Playwright cucumber assessment #221

Open
akidaaaaa wants to merge 3 commits intoautomationExamples:mainfrom
akidaaaaa:AhedanPulati
Open

Playwright cucumber assessment #221
akidaaaaa wants to merge 3 commits intoautomationExamples:mainfrom
akidaaaaa:AhedanPulati

Conversation

@akidaaaaa
Copy link
Copy Markdown

@akidaaaaa akidaaaaa commented Mar 20, 2026

Fixed
Validate login page title
Validate login error message
Validate product sorting by price
Supported values: Price (low to high), Price (high to low)
Validate successful purchase confirmation text

Added New Scenarios
Products Page
Add item and remove it from the products page
Open product details page and add/remove item

Navigation
Verify navigation menu open and close behavior
Logout from navigation menu

Cart & Checkout Flow
Multi-item cart: continue shopping and validate checkout totals
Checkout overview: cancel action returns user to products page
Verify checkout page validation errors
Add item → open cart → remove item → continue shopping

Added Page Coverage
Cart Page
Checkout Page

BDD Structure Improvements
Organized BDD steps by page (Login, Products, Cart, Checkout) for better clarity
Designed steps to be reusable and easy to identify
Separated step definitions into:
Action steps
Assertion steps

This separation improves maintainability and makes future updates or refactoring easier.

Your Name added 3 commits March 20, 2026 02:41
Thank you for reviewing the PR,
fix scenario For:Validate the login page title

finished : Validate login error message and Validate product sort by price <sort>(Price (low to high)、Price (high to low))and Validate successful purchase text

add new Scenario
Add item then remove it from products page
Open product details page and add/remove item
Verify navigation menu open and close
Logout from navigation
Checkout overview then cancel returns to products
Verify checkout page errors
Add item, open cart, remove item, and continue shopping
Multi-item cart, continue shopping, and checkout totals
@akidaaaaa akidaaaaa changed the title Ahedan pulati Playwright cucumber assessment Mar 20, 2026
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