Sylius/features/account/sign_in.feature
2016-05-25 09:39:46 +02:00

26 lines
833 B
Gherkin

@customer_login
Feature: Sign in to the store
In order to view my orders
As a Visitor
I want to be able to log in to the store
Background:
Given the store operates on a single channel in "France"
And there is user "ted@example.com" identified by "bear"
@ui
Scenario: Sign in with email and password
Given I want to log in
When I specify the user name as "ted@example.com"
And I specify the password as "bear"
And I log in
Then I should be logged in
@ui
Scenario: Sign in with bad credentials
Given I want to log in
When I specify the user name as "bear@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