Línea 116... |
Línea 116... |
116 |
| online_users | Course | C1 | course-view-* | site-pre |
|
116 |
| online_users | Course | C1 | course-view-* | site-pre |
|
117 |
When I am on the "C1" "Course" page logged in as "teacher1"
|
117 |
When I am on the "C1" "Course" page logged in as "teacher1"
|
118 |
Then I should see "Online users"
|
118 |
Then I should see "Online users"
|
119 |
And I am on the "Course 1 > Section 1" "course > section" page
|
119 |
And I am on the "Course 1 > Section 1" "course > section" page
|
120 |
And I should see "Online users"
|
120 |
And I should see "Online users"
|
- |
|
121 |
|
- |
|
122 |
@javascript
|
- |
|
123 |
Scenario: Delete a section from the section page redirects to the main course page
|
- |
|
124 |
Given I am on the "C1 > Section 1" "course > section" page
|
- |
|
125 |
And I turn editing mode on
|
- |
|
126 |
When I choose the "Delete" item in the "Edit" action menu of the "page-header" "region"
|
- |
|
127 |
And I click on "Delete" "button" in the "Delete section?" "dialogue"
|
- |
|
128 |
# Section 1 should be removed.
|
- |
|
129 |
Then I should not see "Section 1"
|
- |
|
130 |
# The user should be redirected to the course page.
|
- |
|
131 |
And I should see "General" in the "page" "region"
|