Fix session description test.

pull/2487/head
jmontoyaa 8 years ago
parent 0f0e0fc12e
commit 8a3c9bc812
  1. 12
      tests/behat/features/session.feature

@ -39,9 +39,19 @@ Feature: Session tool
And I press "submit"
Then I should see "Update successful"
Scenario: Check shown session description
Scenario: Check shown session description with platform setting off
Given I am on "/user_portal.php?nosession=true"
Then I should see "Temp Session"
And I should not see "Description for Temp Session"
Scenario: Check shown session description with platform setting on
Given I am a platform administrator
And I am on "/main/admin/settings.php"
And I check the "show_session_description" radio button with "true" value
And I press "Save settings"
Then I should see "Update successful"
Then I am on "/user_portal.php?nosession=true"
Then I should see "Temp Session"
And I should see "Description for Temp Session"
Scenario: Delete session

Loading…
Cancel
Save