-
Notifications
You must be signed in to change notification settings - Fork 2
Authentification
Margaux edited this page May 15, 2019
·
1 revision
Feature : Authentification Scenario : Visitor sign up
As an unregistered user
I want to sign up
Because I want to access content
Given I choose my username/password
When I go on sign-up page
And enter my username, my email and password and confirmed password
And click on 'Sign up'
Then I'm logged in
And I see "You account has been created". notice Scenario : Student Login
As an registered student
I want to log in
Because I want to access content
Given I know my email/password
When I go on student sign-in page
And enter my email and password
And click on 'Log in'
Then I'm logged in
And I see "You are now logged in". notice Scenario : Teacher Login
As an registered teacher
I want to log in
Because I want to access content
Given I know my email/password
When I go on teacher sign-in page
And enter my email and password
And click on 'Log in'
Then I'm logged in
And I see "You are now logged in". notice Scenario : User Forgot password
As an registered user
I want to log in
Because I want to access content
Given I forgot my username/password
When I go on sign-in page
And enter my username and password
And click on 'Forgot password'
And enter my email
And click on "Yes I have forgotten my password"
Then I should receive an email with a link to reset my password Scenario : Teacher or Student sign out
As an registered teacher or student
I want to sign out
Because I want to disconnect my session
Given access from everywhere to the sign out button
When I click on sign-out button
Then I'm signed out
And I see "You are now disconnected". notice