File: D:/HostingSpaces/SBogers85/equichecker.com/features/customerAutentification.feature
Feature: Customer authentication
In order to search /view debtors
As an customer
I need to check the customer Authentication
Scenario: Successful Authentication
Given I have an account "customer" "behat@komma.pro" "7r88B12NtP"
When I sign in
Then I should be logged in
Scenario: Ask password reset
Given I have an account "customer" "behat@komma.pro" "7r88B12NtP"
When I ask a password reset email
Then a token for the given uses should be generated
Scenario: Reset password with link
Given I have an account "customer" "behat@komma.pro" "7r88B12NtP"
When I ask a password reset email
And i reset my password to "new_password"
When I sign in
Then i should be logged in
Scenario: After Login the language should be the customer language
Given I have an account "customer" "behat@komma.pro" "7r88B12NtP"
When I sign in
Then the language should be set to the customer language
Scenario: With an inactive account is should not be able to login
Given I have an inactive account "customer" "behat@komma.pro" "7r88B12NtP"
When I sign in
Then i should not be logged in
Scenario: With an account is not active yet
Given I have an not yet active account "customer" "behat@komma.pro" "7r88B12NtP"
When I sign in
Then i should not be logged in
Scenario: With an account is not active anymore
Given I have an expired active account "customer" "behat@komma.pro" "7r88B12NtP"
When I sign in
Then i should not be logged in