This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
Feature: Product cross selling | |
In order to maximize customer satisfaction (and our profit :]) | |
As a potential customer | |
I want to see items related to product I am currently looking | |
Scenario: Product page should show cross sell items | |
Given the following products exists | |
| product | name | gross_price | available_amount | number | manufacturer_product_number | | |
| camera | Kamera | 1199 | 22 | HK029737 | 01G-P3-1556-KR | | |
| camera_stand | Kamerastativ | 99 | 22 | HK029738 | 01G-P3-1550-CS | | |
And the following navision_cross_sell_items exists | |
| product | cross_sell_product | | |
| product "camera" | product "camera_stand" | | |
And I am on the product page for "Kamera" | |
Then I should see "Zubehör" | |
Scenario: Product page should not show cross sell items | |
Given the following products exists | |
| product | name | gross_price | available_amount | number | manufacturer_product_number | | |
| camera | Kamera | 1199 | 22 | HK029737 | 01G-P3-1556-KR | | |
| camera_stand | Kamerastativ | 99 | 22 | HK029738 | 01G-P3-1550-CS | | |
And I am on the product page for "Kamera" | |
Then I should not see "Zubehör" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment