-
Notifications
You must be signed in to change notification settings - Fork 38
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
6 changed files
with
96 additions
and
70 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,34 +1,34 @@ | ||
@bundled_product | ||
Feature: Creating a product in store which is a bundle of other products | ||
I want to be able to add bundled product to cart | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And I am logged in as an administrator | ||
And the store has a product "Jack Daniels Gentleman" priced at "$10.00" | ||
And the store has a product "Johny Walker Black" priced at "$10.00" | ||
And the store has a product "Jim Beam Double Oak" priced at "$10.00" | ||
|
||
@ui @javascript | ||
Scenario: Creating a bundled product | ||
When I want to create a new bundled product | ||
And I specify its code as "WHISKEY_PACK" | ||
And I name it "Whiskey double pack" in "English (United States)" | ||
And I set its slug to "whiskey-double-pack" in "English (United States)" | ||
And I set its price to "$10.00" for "United States" channel | ||
And I set its original price to "$20.00" for "United States" channel | ||
And I add product "Johny Walker Black" and "Jack Daniels Gentleman" to the bundle | ||
And I add it | ||
Then I should be notified that it has been successfully created | ||
|
||
@ui @javascript | ||
Scenario: Creating a bundled product with more products | ||
When I want to create a new bundled product | ||
And I specify its code as "WHISKEY_BIG_PACK" | ||
And I name it "Whiskey triple pack" in "English (United States)" | ||
And I set its slug to "whiskey-triple-pack" in "English (United States)" | ||
And I set its price to "$10.00" for "United States" channel | ||
And I set its original price to "$20.00" for "United States" channel | ||
And I add product "Johny Walker Black" and "Jack Daniels Gentleman" and "Jim Beam Double Oak" to the bundle | ||
And I add it | ||
Then I should be notified that it has been successfully created | ||
#@bundled_product | ||
#Feature: Creating a product in store which is a bundle of other products | ||
# I want to be able to add bundled product to cart | ||
# | ||
# Background: | ||
# Given the store operates on a single channel in "United States" | ||
# And I am logged in as an administrator | ||
# And the store has a product "Jack Daniels Gentleman" priced at "$10.00" | ||
# And the store has a product "Johny Walker Black" priced at "$10.00" | ||
# And the store has a product "Jim Beam Double Oak" priced at "$10.00" | ||
# | ||
# @ui | ||
# Scenario: Creating a bundled product | ||
# When I want to create a new bundled product | ||
# And I specify its code as "WHISKEY_PACK" | ||
# And I name it "Whiskey double pack" in "English (United States)" | ||
# And I set its slug to "whiskey-double-pack" in "English (United States)" | ||
# And I set its price to "$10.00" for "United States" channel | ||
# And I set its original price to "$20.00" for "United States" channel | ||
# And I add product "Johny Walker Black" and "Jack Daniels Gentleman" to the bundle | ||
# And I add it | ||
# Then I should be notified that it has been successfully created | ||
# | ||
# @ui | ||
# Scenario: Creating a bundled product with more products | ||
# When I want to create a new bundled product | ||
# And I specify its code as "WHISKEY_BIG_PACK" | ||
# And I name it "Whiskey triple pack" in "English (United States)" | ||
# And I set its slug to "whiskey-triple-pack" in "English (United States)" | ||
# And I set its price to "$10.00" for "United States" channel | ||
# And I set its original price to "$20.00" for "United States" channel | ||
# And I add product "Johny Walker Black" and "Jack Daniels Gentleman" and "Jim Beam Double Oak" to the bundle | ||
# And I add it | ||
# Then I should be notified that it has been successfully created |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
framework: | ||
mailer: | ||
dsn: 'null://null' | ||
cache: | ||
pools: | ||
test.mailer_pool: | ||
adapter: cache.adapter.filesystem |
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