Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UI] added display of product variant original price on product page
- Loading branch information
1 parent
a00d41e
commit c8f7e40
Showing
11 changed files
with
100 additions
and
9 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...iewing_products/viewing_different_discounted_price_for_different_product_variants.feature
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@viewing_products | ||
Feature: Viewing different discounted price for different product variants | ||
In order to see product variant discounted price | ||
As a Visitor | ||
I want to be able to see a proper discounted price for each product variant | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And the store has a "Wyborowa Vodka" configurable product | ||
And the product "Wyborowa Vodka" has "Wyborowa Vodka Exquisite" variant priced at "$40.00" | ||
And the product "Wyborowa Vodka" has "Wyborowa Apple" variant priced at "$12.55" | ||
And the "Wyborowa Apple" product variant has original price at "$20.00" | ||
|
||
@ui | ||
Scenario: Viewing a detailed page with default variant's price without discount | ||
When I view product "Wyborowa Vodka" | ||
Then the product price should be "$40.00" | ||
And I should not see any original price | ||
|
||
@ui @javascript | ||
Scenario: Viewing a detailed page with product's discount price for different variant | ||
When I view product "Wyborowa Vodka" | ||
And I select "Wyborowa Apple" variant | ||
Then the product price should be "$12.55" | ||
And the product original price should be "$20.00" |
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
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
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
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
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
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
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
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
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
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