mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Behat scenarios :
- Tracking an order that has been sent - Trying to track an order that has not been sent - Checking that an invoice is available for an order that has been sent - Checking that an invoice is not available for an order that has not been sent
This commit is contained in:
parent
3d6a64f3db
commit
876dc770ab
1 changed files with 10 additions and 0 deletions
|
|
@ -99,10 +99,20 @@ Feature: User account orders page
|
|||
Scenario: Tracking an order that has been sent
|
||||
Given I am on my account orders page
|
||||
Then I should see "Tracking number" in the "#000001" element
|
||||
And I should see an "#000001TrackingNumber" element
|
||||
|
||||
Scenario: Trying to track an order that has not been sent
|
||||
Given I am on my account orders page
|
||||
Then I should not see "Tracking number" in the "#000007" element
|
||||
And I should not see an "#000007TrackingNumber" element
|
||||
|
||||
Scenario: Checking that an invoice is available for an order that has been sent
|
||||
Given I am on my account orders page
|
||||
Then I should see an "#000001Invoice" element
|
||||
|
||||
Scenario: Checking that an invoice is not available for an order that has not been sent
|
||||
Given I am on my account orders page
|
||||
Then I should not see an "#000007Invoice" element
|
||||
|
||||
Scenario: Generating an invoice for an order that has been sent
|
||||
Scenario: Trying to generate an invoice for an order that has not been sent
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue