Add scenario for seeing information about no exisiting account and for not being able to log in after account removal

[AdminBundle] Remove delete button from customer index page
This commit is contained in:
tuka217 2016-08-08 10:55:29 +02:00
parent 475bf607a7
commit 6a8af40550
4 changed files with 16 additions and 3 deletions

View file

@ -24,3 +24,13 @@ Feature: Sign in to the store
And I log in
Then I should be notified about bad credentials
And I should not be logged in
@ui
Scenario: Cannot log in after my account was deleted
Given my account "ted@example.com" was deleted
And I want to log in
When I specify the username as "ted@example.com"
And I specify the password as "pswd"
And I log in
Then I should be notified about bad credentials
And I should not be logged in

View file

@ -11,7 +11,7 @@ Feature: Browsing customers
And I am logged in as an administrator
@ui
Scenario: Browsing currencies in store
Scenario: Browsing customers in store
When I want to see all customers in store
Then I should see 4 customers in the list
And I should see the customer "mr.banana@example.com" in the list

View file

@ -22,3 +22,8 @@ Feature: Seeing customer's details
When I view details of the customer "f.baggins@shire.me"
Then his shipping address should be "Frodo Baggins, Bag End, Hobbiton, NEW ZEALAND 1"
And his billing address should be "Bilbo Baggins, The Last Homely House, Rivendell, NEW ZEALAND 7"
@ui
Scenario: Seeing information about no existing account for a given customer
When I view details of the customer "f.baggins@shire.me"
Then I should see information about no existing account for this customer

View file

@ -46,5 +46,3 @@ sylius_grid:
type: show
update:
type: update
delete:
type: delete