-
-
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.
feature #12661 [API] Add itemsTotal field to order resource (arti0090)
This PR was merged into the 1.10-dev branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | License | MIT ![Zrzut ekranu 2021-05-21 o 12 35 53](https://user-images.githubusercontent.com/35863747/119124555-172e3480-ba31-11eb-8a7e-1f7115d8feee.png) Commits ------- 3f9d64c [API] Add itemsTotal field to order resource 41cca0a Changes to scenarios 0e88a33 Changes to scenario and serialization f41bf84 Fixes related to missing serialization group
- Loading branch information
Showing
7 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
features/cart/shopping_cart/seeing_detailed_information_about_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,21 @@ | ||
@shopping_cart | ||
Feature: Seeing detailed information of cart | ||
In order to know more about status of my cart | ||
As a Visitor | ||
I want to be able to see detailed information of my cart | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And the store has a product "T-shirt banana" priced at "$12.54" | ||
|
||
@api | ||
Scenario: Viewing items of my cart | ||
When I add 5 of them to my cart | ||
And I check items in my cart | ||
Then my cart should have quantity of 5 items of product "T-shirt banana" | ||
|
||
@api | ||
Scenario: Viewing items total of my cart | ||
When I add 5 of them to my cart | ||
And I check details of my cart | ||
Then my cart should have "$62.70" items total |
15 changes: 0 additions & 15 deletions
15
features/cart/shopping_cart/seeing_order_items_in_cart.feature
This file was deleted.
Oops, something went wrong.
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