Logo: Relish

  1. Sign in

Project: Apollo

Login and logout

This feature file is for testing login and logout functionality
If the session name is ever changed, make sure to change the COMMON_SESSION_NAME in env.rb

User should be able to:

  • log into a session as a guest
  • log into a session as guest using the ENTER key
  • log into a session as moderator
  • two users should be able to log in at the same time
Scenarios
  • @single_user
Log into a session as guest
Given
"Jon Smith" logs into a session
Then
"Jon Smith" should see session title "LT3LABEL"
  • @single_user
Log into a session as guest using the ENTER key
Given
"Jon Smith" logs into a session using ENTER key
Then
"Jon Smith" should see session title "LT3LABEL"
  • @single_user
Log into a session as moderator
Given
"Jon Smith" logs into a session as moderator
Then
"Jon Smith" should see session title "LT3LABEL" and has moderator role
  • @two_users
Two users login
Given
"Jon Smith and Tom" log into a session
Then
"Jon Smith" should see session title "LT3LABEL"
And
"Tom" should see session title "LT3LABEL"
  • @two_users
Moderator and guest login
Given
"Jon Smith" logs into a session as moderator
And
"Tom" logs into a session
Then
"Jon Smith" should see session title "LT3LABEL" and has moderator role
And
"Tom" should see session title "LT3LABEL"

Last published over 4 years ago by jizel.