@@ -9,13 +9,13 @@ Feature: Initial section has custom layout
99 | fullname | shortname | format | coursedisplay | numsections |
1010 | Course 1 | C1 | ucl | 0 | 5 |
1111 And the following "users" exist:
12- | username | firstname | lastname | email |
13- | teacher1 | Teacher | 1 | teacher1 @example .com |
14- | teacher2 | Teacher | 2 | teacher2 @example .com |
15- | teacher3 | Teacher | 3 | teacher3 @example .com |
16- | teacher4 | Teacher | 4 | teacher4 @example .com |
17- | teacher5 | Teacher | 5 | teacher5 @example .com |
18- | student1 | Student | 1 | student1 @example .com |
12+ | username | firstname | lastname | email | maildisplay |
13+ | teacher1 | Teacher | 1 | teacher1 @example .com | 1 |
14+ | teacher2 | Teacher | 2 | teacher2 @example .com | 1 |
15+ | teacher3 | Teacher | 3 | teacher3 @example .com | 1 |
16+ | teacher4 | Teacher | 4 | teacher4 @example .com | 1 |
17+ | teacher5 | Teacher | 5 | teacher5 @example .com | 0 |
18+ | student1 | Student | 1 | student1 @example .com | 1 |
1919 And the following "course enrolments" exist:
2020 | user | course | role |
2121 | teacher1 | C1 | editingteacher |
@@ -64,10 +64,13 @@ Feature: Initial section has custom layout
6464 When I log in as "teacher1"
6565 And I am on "Course 1" course homepage with editing mode on
6666 And I click on "Show Teacher 1 to students" "checkbox"
67+ And I click on "Show Teacher 5 to students" "checkbox"
6768 And I turn editing mode off
6869 Then "Teacher 1" "link" should exist in the "#ucl-course-content" "css_element"
70+ And "teacher1@example.com" "link" should exist in the "#ucl-course-content" "css_element"
6971 And "Teacher 2" "link" should not exist
70- And "Teacher 5" "link" should not exist
72+ And "Teacher 5" "link" should exist
73+ And "teacher5@example.com" "link" should not exist
7174 And "Teacher 3" "link" should not exist
7275 And "Teacher 4" "link" should not exist
7376 And I reload the page
0 commit comments