Skip to content

Ashwithareddy1 solution - Completed all 4 tasks with additional test coverage #209

Open
AshwithaReddy1 wants to merge 2 commits intoautomationExamples:mainfrom
AshwithaReddy1:Ashwithareddy1-Solution
Open

Ashwithareddy1 solution - Completed all 4 tasks with additional test coverage #209
AshwithaReddy1 wants to merge 2 commits intoautomationExamples:mainfrom
AshwithaReddy1:Ashwithareddy1-Solution

Conversation

@AshwithaReddy1
Copy link
Copy Markdown

Summary

Completed all 4 assessment tasks with additional test coverage.

Tasks Completed

Task 1 - Login Page Title Fix

Identified the root cause of the failing scenario and updated the expected title value to match the actual page title.

Task 2 - Login Error Message Validation

Extended the scenario with an additional step to validate the exact error message displayed to the user.

Task 3 - Purchase Flow Extension

Implemented a new page object (purchase.page.ts) and steps file (purchase.steps.ts) following the Page Object Model pattern. Added steps for each commented requirement.

Task 4 - Product Sort Parameterization

Used Scenario Outline with Examples table to test multiple sort options in one scenario.

Additional Coverage

Added cart feature scenarios to validate:

  • Cart item count after adding a product
  • Cart badge visibility after removing a product

Test Results

7 scenarios | 31 steps | All passing
image

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