Minor - fix advanced settings button

pull/2821/head
Julio 7 years ago
parent cf4b8a93e9
commit bca79775d3
  1. 5
      tests/behat/features/sessionManagement.feature

@ -32,7 +32,8 @@ Feature: Session management tool
When I fill in the following: When I fill in the following:
| name | Temp Session | | name | Temp Session |
And I fill in select2 input "#coach_username" with id "1" and value "admin" And I fill in select2 input "#coach_username" with id "1" and value "admin"
And I press "Advanced settings" And wait for the page to be loaded
And I press advanced settings
And I fill in ckeditor field "description" with "Description for Temp Session" And I fill in ckeditor field "description" with "Description for Temp Session"
And I press "submit" And I press "submit"
Then I should see "Add courses to this session (Temp Session)" Then I should see "Add courses to this session (Temp Session)"
@ -50,7 +51,7 @@ Feature: Session management tool
Given I am on "/main/session/session_list.php?keyword=Temp+session" Given I am on "/main/session/session_list.php?keyword=Temp+session"
And wait for the page to be loaded And wait for the page to be loaded
And I follow "Edit" And I follow "Edit"
When I press "Advanced settings" And And I press advanced settings
And I check "Show description" And I check "Show description"
And I press "submit" And I press "submit"
Then I should see "Update successful" Then I should see "Update successful"

Loading…
Cancel
Save