Sylius/features/checkout/accessing_order_right_after_completing_checkout.feature
2019-08-29 11:26:33 +02:00

20 lines
893 B
Gherkin

@checkout
Feature: Accessing order right after completing checkout
In order to check my order right after I have placed it
As a Customer
I want to access this order from the thank you page
Background:
Given the store operates on a single channel in "United States"
And there is a user "john@example.com" identified by "password123"
And the store allows paying "Cash on delivery"
And the store has a product "PHP T-Shirt" priced at "$19.99"
And the store ships everywhere for free
And I am logged in as "john@example.com"
@ui
Scenario: Being able to access my order right after completing checkout
Given I added product "PHP T-Shirt" to the cart
And I have proceeded selecting "Cash on delivery" payment method
When I confirm my order
Then I should be able to access this order's details