diff --git a/features/product.feature b/features/product.feature index 8a7ceab9..81e0f482 100644 --- a/features/product.feature +++ b/features/product.feature @@ -1,13 +1,16 @@ Feature: Product Feature - Background: + +Background: Given I open the "https://www.saucedemo.com/" page - # 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 - Then I will login as 'standard_user' - # TODO: Sort the items by - # TODO: Validate all 6 items are sorted correctly by price + # Validate sort using Scenario Outline + Scenario Outline: Validate product sort by price + Then I will login as 'standard_user' + Then I sort the items by "" + Then I validate all products are sorted correctly by price "" + Examples: - # TODO: extend the datatable to paramterize this test - | sort | \ No newline at end of file + | sort | + | Price (low to high) | + | Price (high to low) |