mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[Shop][Account] Add scenarios for order details
This commit is contained in:
parent
fa8546fb71
commit
0838310af2
4 changed files with 53 additions and 0 deletions
|
|
@ -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 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"
|
||||
|
||||
@todo
|
||||
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
|
||||
|
|
@ -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 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"
|
||||
|
||||
@todo
|
||||
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 items total
|
||||
And I should see "€58.00" as order's total
|
||||
Loading…
Add table
Reference in a new issue