Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5281 from GSadee/shop-account-order-details
[Shop][Account] Order details on my account page
- Loading branch information
Showing
25 changed files
with
636 additions
and
17 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
25 changes: 25 additions & 0 deletions
25
features/account/customer_account/viewing_orders_history/viewing_order.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 @@ | ||
@customer_account | ||
Feature: Viewing details of an order | ||
In order to check some details of my placed order | ||
As an Customer | ||
I want to be able to view details of my placed order | ||
|
||
Background: | ||
Given the store operates on a single channel in "France" | ||
And the store has a product "Angel T-Shirt" priced at "€39.00" | ||
And the store ships everywhere for free | ||
And the store allows paying with "Cash on Delivery" | ||
And I am a logged in customer | ||
And I placed an order "#00000666" | ||
And I addressed it to "Lucifer Morningstar", "Seaside Fwy", "90802" "Los Angeles" in the "United States" | ||
And for the billing address of "Mazikeen Lilim" in the "Pacific Coast Hwy", "90806" "Los Angeles", "United States" | ||
And I chose "Free" shipping method with "Cash on Delivery" payment | ||
And I bought a single "Angel T-Shirt" | ||
|
||
@ui | ||
Scenario: Viewing basic information about an order | ||
When I view the summary of the order "#00000666" | ||
And it should has number "#00000666" | ||
And I should see "Lucifer Morningstar", "Seaside Fwy", "90802", "Los Angeles", "United States" as shiping address | ||
And I should see "Mazikeen Lilim", "Pacific Coast Hwy", "90806", "Los Angeles", "United States" as billing address | ||
And I should see "€39.00" as order's total |
28 changes: 28 additions & 0 deletions
28
features/account/customer_account/viewing_orders_history/viewing_order_items.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 @@ | ||
@customer_account | ||
Feature: Viewing details of an order | ||
In order to check some details of my placed order | ||
As an Customer | ||
I want to be able to view details of my placed order | ||
|
||
Background: | ||
Given the store operates on a single channel in "France" | ||
And the store has a product "Angel T-Shirt" priced at "€39.00" | ||
And the store has a product "Angel Mug" priced at "€19.00" | ||
And the store ships everywhere for free | ||
And the store allows paying with "Cash on Delivery" | ||
And I am a logged in customer | ||
And I placed an order "#00000666" | ||
And I addressed it to "Lucifer Morningstar", "Seaside Fwy", "90802" "Los Angeles" in the "United States" | ||
And for the billing address of "Mazikeen Lilim" in the "Pacific Coast Hwy", "90806" "Los Angeles", "United States" | ||
And I chose "Free" shipping method with "Cash on Delivery" payment | ||
And I bought an "Angel T-Shirt" and an "Angel Mug" | ||
|
||
@ui @javascript | ||
Scenario: Viewing basic information about an order | ||
When I view the summary of the order "#00000666" | ||
And it should has number "#00000666" | ||
And I should see 2 items in the list | ||
And the product named "Angel T-Shirt" should be in the items list | ||
And the product named "Angel Mug" should be in the items list | ||
And I should see "€58.00" as order's subtotal | ||
And I should see "€58.00" as order's total |
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
Oops, something went wrong.