mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
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:
parent
475bf607a7
commit
6a8af40550
4 changed files with 16 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -46,5 +46,3 @@ sylius_grid:
|
|||
type: show
|
||||
update:
|
||||
type: update
|
||||
delete:
|
||||
type: delete
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue