Logo: Relish

  1. Sign in

Project: Efclass-ios

Authentication and Authorization

As an
I want to
So that

Background
Given
the following existing users:
First Name Last Name Email Address Status Role Email Provider
Bart Simpson [email protected] Active teacher GMail
Seymour Skinner [email protected] Active student EFID
Scenarios
Login as a valid user
When
I navigate to the "email_provider" login page
And
I enter my login user credentials as "name"
Then
I should see: "Welcome "name"\nSelect a lesson from the left menu"
And
I should be able to "action"
Examples:
name email_provider action
Seymour Skinner EFID teach and manage lessons
Bart Simpson GMail join and participate in lessons
Login with a non-existent user
When
I navigate to the "email_provider" login page
And
I enter invalid user credentials
Then
I should not be redirected to the app as a logged user
Examples:
email_provider
EFID
GMail
Logout
When
I log in as "name"
And
I logout from the app
Then
I should be logged out from the app
Examples:
name
Seymour Skinner
Bart Simpson

Last published about 7 years ago by Willy De la Cruz Sierra.