-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[StorageList] add tests for share function
- Loading branch information
1 parent
0346cfe
commit a73e4c9
Showing
6 changed files
with
61 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@ui @wishlist | ||
Feature: Adding a product to the wishlist | ||
Background: | ||
Given the site operates on a store in "Austria" | ||
And the store "Austria" is the default store | ||
|
||
Scenario: Adding a simple product to the wishlist | ||
Given the site has a product "TShirt" priced at 10000 | ||
And the product is active and published and available for store "Austria" | ||
When I add this product to the wishlist | ||
Then I should be on the wishlist summary page | ||
And this wishlist item should have name "TShirt" | ||
And I can see the share wishlist link |
13 changes: 13 additions & 0 deletions
13
features/ui/frontend/wishlist/show_shared_wishlist.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,13 @@ | ||
@ui @wishlist | ||
Feature: Adding a product to the wishlist | ||
Background: | ||
Given the site operates on a store in "Austria" | ||
And the store "Austria" is the default store | ||
And the site has a product "TShirt" priced at 10000 | ||
And the product is active and published and available for store "Austria" | ||
When I add this product to the wishlist | ||
Then I should be on the wishlist summary page | ||
|
||
Scenario: Show shared Wishlist | ||
Given I visit the share wishlist link | ||
Then this wishlist item should have name "TShirt" |
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