Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions features/login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ Feature: Login Feature

Scenario: Validate the login page title
# TODO: Fix this failing scenario
Then I should see the title "Labs Swag"
# Solution: The actual title of the page is 'Swag Labs' not 'Labs Swag'
Then I should see the title "Swag Labs"

Scenario: Validate login error message
Then I will login as 'locked_out_user'
# TODO: Add a step to validate the error message received
# TODO: Add a step to validate the error message received
Then I should see the error message "Epic sadface: Sorry, this user has been locked out."
12 changes: 8 additions & 4 deletions features/product.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ Feature: Product Feature

# Create a datatable to validate the Price (high to low) and Price (low to high) sort options (top-right) using a Scenario Outline
Scenario Outline: Validate product sort by price <sort>
Then I will login as 'standard_user'
Then I will login as 'standard_user'
# TODO: Sort the items by <sort>
Then I will sort the items by "<sort>"
# TODO: Validate all 6 items are sorted correctly by price
Examples:
# TODO: extend the datatable to paramterize this test
| sort |
Then I will validate all 6 items are sorted correctly by price "<sort>"
Examples:
# TODO: extend the datatable to paramterize this test
| sort |
| Price (low to high) |
| Price (high to low) |
12 changes: 9 additions & 3 deletions features/purchase.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ Feature: Purchase Feature
Given I open the "https://www.saucedemo.com/" page

Scenario: Validate successful purchase text
Then I will login as 'standard_user'
Then I will add the backpack to the cart
Then I will login as 'standard_user'
Then I will add the backpack to the cart
# TODO: Select the cart (top-right)
When I will navigate to the cart
# TODO: Select Checkout
And I will select checkout
# TODO: Fill in the First Name, Last Name, and Zip/Postal Code
Then I will fill First Name "Jerome", Last Name "Nithish", and Postal code "600091"
# TODO: Select Continue
When I will select continue
# TODO: Select Finish
# TODO: Validate the text 'Thank you for your order!'
And I will select finish
# TODO: Validate the text 'Thank you for your order!'
Then I should see the success message "Thank you for your order!"
Loading
Loading