ChrisRaynerSG / AutomatedWebTestingProject

A project to look at the functionality of https://automationexercise.com/ derive user stories, and create test cases for those users stories.
0 stars 2 forks source link

As a user I want all products on the product page to be displayed So that I can browse and select items to buy #6

Open ChrisRaynerSG opened 1 month ago

OllieWebb commented 1 month ago

6.1: @Happy When I am on the products page Then I will see the title "all products" And the number of available products will be 31 (check i counted right)

OllieWebb commented 1 month ago

6.2: @Happy Given I am on the products page When I click on add to cart Then I will be notified that "Your product has been added to cart." And the item count of that product will increase by 1

OllieWebb commented 1 month ago

6.3: @happy Given I am on the products page When I click on "view product" Then I will be taken to the product page of that item

OllieWebb commented 1 month ago

6.4: @Happy Scenario Outline: Select the filter for different product for women on the product page Given I am on the product page When I click the women button in the category section and I select the <"product"> button Then I should see a title with "women - <"product"> products" listed And the number of available products should be <"itemAmount"> Examples: | product | itemAmount | | Dress | 3 | | Tops | 6 | | Saree | 3 |

OllieWebb commented 1 month ago

6.5: @happy Scenario Outline: Select the filter for different product for men on the product page Given I am on the product page When I click the men button in the category section and I select the <"product"> button Then I should see a title with "men - <"product"> " listed And the number of available products should be <"itemAmount"> Examples: | product | itemAmount | | Tshirts| 3 | | Jeans| 6 |

OllieWebb commented 1 month ago

6.6: @happy Scenario Outline: Select the filter for different product for kids on the product page Given I am on the product page When I click the kids button in the category section and I select the <"product"> button Then I should see a title with "kids- <"product"> " listed And the number of available products should be <"itemAmount"> Examples: | product | itemAmount | | Dress| 6 | | Tops&Shirts| 7 |

OllieWebb commented 1 month ago

6.7: @happy Scenario Outline: Select the filter for different brands Given I am on the product page When I select the <"brand"> button Then I should see a title with "brand - <"brand"> " listed And the number of available products should be <"itemAmount"> Examples: | brand | itemAmount | |Polo| 6 | |H&M| 5 | |Madame| 5 | |Mast & Harbour| 3 | |Babyhug| 4 | |Allen Solly Junior| 3 | |Kookie Kids| 3 | |Biba| 5 |