-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
features/cart/shopping_cart/adding_product_with_discounted_catalog_price_to_cart.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,28 @@ | ||
@shopping_cart | ||
Feature: Adding a simple product with discounted catalog price to the cart | ||
In order to select products with proper price | ||
As a Visitor | ||
I want to be able to add simple products with discounted catalog price to the cart | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And the store has a "T-Shirt" configurable product | ||
And this product has "PHP T-Shirt" variant priced at "$20.00" | ||
And the store has a "Mug" configurable product | ||
And this product has "PHP Mug" variant priced at "$5.00" | ||
And there is a catalog promotion "Winter sale" that reduces price by "25%" and applies on "PHP T-Shirt" variant | ||
|
||
@todo | ||
Scenario: Adding a simple product with discounted catalog price to the cart | ||
When I add this product to the cart | ||
Then I should be on my cart summary page | ||
And I should be notified that the product has been successfully added | ||
And I should see "T-Shirt Banana" with unit price "$15.00" in my cart | ||
|
||
@todo | ||
Scenario: Adding a simple product with discounted catalog price to the cart as a logged in customer | ||
Given I am a logged in customer | ||
When I add this product to the cart | ||
Then I should be on my cart summary page | ||
And I should be notified that the product has been successfully added | ||
And I should see "T-Shirt Banana" with unit price "$15.00" in my cart |
18 changes: 18 additions & 0 deletions
18
.../shopping_cart/adding_product_with_variants_with_discounted_catalog_price_to_cart.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,18 @@ | ||
@shopping_cart | ||
Feature: Adding a product with selected variant with discounted catalog price to the cart | ||
In order to select products with proper price | ||
As a Visitor | ||
I want to be able to add products with selected variants to cart | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And the store has a product "T-Shirt" | ||
And this product has "PHP T-Shirt" variant priced at "$20" | ||
And there is a catalog promotion "Winter sale" that reduces price by "25%" and applies on "PHP T-Shirt" variant | ||
|
||
@todo | ||
Scenario: Adding a product with multiple variants with discounted catalog price to the cart | ||
When I add "PHP T-Shirt" variant of this product to the cart | ||
Then I should be on my cart summary page | ||
And I should be notified that the product has been successfully added | ||
And I should see "T-Shirt Banana" with unit price "$15.00" in my cart |
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