Step Data:
SKU Name Description Net Price VAT rate VAT Gross Price Colour Image
12345678 Linda Fancy dress 9.16 20 1.83 10.99 Grey FancyDressImage
Step Data:
SKU Name Description Quantity Gross Price Colour Image Line Price
12345678 Linda Fancy dress 1 10.99 Grey FancyDressImage 10.99
# # Feature: Calculate basket total # # Created with BDD Editor on: 20 November, 2019 # # Please follow us at @bddeditor AND if you find this tool useful please share with friends and colleagues! # @Wip Feature: Calculate basket total As A Product Manager I customers to be able to see how much their products are costing them So that they can understand what they are going to need to pay Scenario: Calculate total - 1 product added to empty basket Given I have an empty basket And the "Linda" dress is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 9.16 | 20 | 1.83 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | 10.99 | Scenario: Calculate total - product with zero price added Given I have an empty basket And a fabric swatch "Swatch1" is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 1000 | Swatch1 | SwatchFlowery | 0.00 | 0 | 0.00 | 0.00 | Multi | SwatchFloweryImage | When I add a "Swatch1" fabric swatch to the basket Then I can see the "Swatch1" fabric swatch in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 1000 | Swatch1 | SwatchFlowery | 1 | 0.00 | Multi | SwatchFloweryImage | 0.00 | Scenario: Calculate total - same product added to basket again Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket And the basket total is calculated | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | Scenario: Calculate total - another product added to basket with items already in it Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Jane" skirt to the basket Then I can see the "Jane" skirt in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | | 12345679 | Jane | Skirt | 1 | 10.00 | Pink | ChildsSkirt | 10.00 | And the basket total is calculated as 31.98
Step Data:
SKU Name Description Net Price VAT rate VAT Gross Price Colour Image
1000 Swatch1 SwatchFlowery 0.00 0 0.00 0.00 Multi SwatchFloweryImage
Step Data:
SKU Name Description Quantity Gross Price Colour Image Line Price
1000 Swatch1 SwatchFlowery 1 0.00 Multi SwatchFloweryImage 0.00
# # Feature: Calculate basket total # # Created with BDD Editor on: 20 November, 2019 # # Please follow us at @bddeditor AND if you find this tool useful please share with friends and colleagues! # @Wip Feature: Calculate basket total As A Product Manager I customers to be able to see how much their products are costing them So that they can understand what they are going to need to pay Scenario: Calculate total - 1 product added to empty basket Given I have an empty basket And the "Linda" dress is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 9.16 | 20 | 1.83 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | 10.99 | Scenario: Calculate total - product with zero price added Given I have an empty basket And a fabric swatch "Swatch1" is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 1000 | Swatch1 | SwatchFlowery | 0.00 | 0 | 0.00 | 0.00 | Multi | SwatchFloweryImage | When I add a "Swatch1" fabric swatch to the basket Then I can see the "Swatch1" fabric swatch in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 1000 | Swatch1 | SwatchFlowery | 1 | 0.00 | Multi | SwatchFloweryImage | 0.00 | Scenario: Calculate total - same product added to basket again Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket And the basket total is calculated | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | Scenario: Calculate total - another product added to basket with items already in it Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Jane" skirt to the basket Then I can see the "Jane" skirt in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | | 12345679 | Jane | Skirt | 1 | 10.00 | Pink | ChildsSkirt | 10.00 | And the basket total is calculated as 31.98
Step Data:
SKU Name Description Quantity Gross Price Colour Image
12345678 Linda Fancy dress 1 10.99 Grey FancyDressImage
Step Data:
SKU Name Description Quantity Gross Price Colour Image Line Price
12345678 Linda Fancy dress 2 10.99 Grey FancyDressImage 21.98
# # Feature: Calculate basket total # # Created with BDD Editor on: 20 November, 2019 # # Please follow us at @bddeditor AND if you find this tool useful please share with friends and colleagues! # @Wip Feature: Calculate basket total As A Product Manager I customers to be able to see how much their products are costing them So that they can understand what they are going to need to pay Scenario: Calculate total - 1 product added to empty basket Given I have an empty basket And the "Linda" dress is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 9.16 | 20 | 1.83 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | 10.99 | Scenario: Calculate total - product with zero price added Given I have an empty basket And a fabric swatch "Swatch1" is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 1000 | Swatch1 | SwatchFlowery | 0.00 | 0 | 0.00 | 0.00 | Multi | SwatchFloweryImage | When I add a "Swatch1" fabric swatch to the basket Then I can see the "Swatch1" fabric swatch in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 1000 | Swatch1 | SwatchFlowery | 1 | 0.00 | Multi | SwatchFloweryImage | 0.00 | Scenario: Calculate total - same product added to basket again Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket And the basket total is calculated | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | Scenario: Calculate total - another product added to basket with items already in it Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Jane" skirt to the basket Then I can see the "Jane" skirt in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | | 12345679 | Jane | Skirt | 1 | 10.00 | Pink | ChildsSkirt | 10.00 | And the basket total is calculated as 31.98
Step Data:
SKU Name Description Quantity Gross Price Colour Image
12345678 Linda Fancy dress 1 10.99 Grey FancyDressImage
Step Data:
SKU Name Description Quantity Gross Price Colour Image Line Price
12345678 Linda Fancy dress 2 10.99 Grey FancyDressImage 21.98
12345679 Jane Skirt 1 10.00 Pink ChildsSkirt 10.00
# # Feature: Calculate basket total # # Created with BDD Editor on: 20 November, 2019 # # Please follow us at @bddeditor AND if you find this tool useful please share with friends and colleagues! # @Wip Feature: Calculate basket total As A Product Manager I customers to be able to see how much their products are costing them So that they can understand what they are going to need to pay Scenario: Calculate total - 1 product added to empty basket Given I have an empty basket And the "Linda" dress is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 9.16 | 20 | 1.83 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | 10.99 | Scenario: Calculate total - product with zero price added Given I have an empty basket And a fabric swatch "Swatch1" is available on the web site | SKU | Name | Description | Net Price | VAT rate | VAT | Gross Price | Colour | Image | | 1000 | Swatch1 | SwatchFlowery | 0.00 | 0 | 0.00 | 0.00 | Multi | SwatchFloweryImage | When I add a "Swatch1" fabric swatch to the basket Then I can see the "Swatch1" fabric swatch in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 1000 | Swatch1 | SwatchFlowery | 1 | 0.00 | Multi | SwatchFloweryImage | 0.00 | Scenario: Calculate total - same product added to basket again Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Linda" dress to the basket Then I can see the "Linda" dress in my basket And the basket total is calculated | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | Scenario: Calculate total - another product added to basket with items already in it Given I have a "Linda" dress in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | | 12345678 | Linda | Fancy dress | 1 | 10.99 | Grey | FancyDressImage | When I add a "Jane" skirt to the basket Then I can see the "Jane" skirt in my basket | SKU | Name | Description | Quantity | Gross Price | Colour | Image | Line Price | | 12345678 | Linda | Fancy dress | 2 | 10.99 | Grey | FancyDressImage | 21.98 | | 12345679 | Jane | Skirt | 1 | 10.00 | Pink | ChildsSkirt | 10.00 | And the basket total is calculated as 31.98