Línea 41... |
Línea 41... |
41 |
| feedback | Course | C2 | course-view-* | side-pre |
|
41 |
| feedback | Course | C2 | course-view-* | side-pre |
|
42 |
| feedback | Course | C3 | course-view-* | side-pre |
|
42 |
| feedback | Course | C3 | course-view-* | side-pre |
|
43 |
When I log in as "manager"
|
43 |
When I log in as "manager"
|
44 |
And I am on site homepage
|
44 |
And I am on site homepage
|
45 |
And I follow "Course feedback"
|
45 |
And I follow "Course feedback"
|
46 |
And I click on "Edit questions" "link" in the "[role=main]" "css_element"
|
46 |
And I navigate to "Questions" in current page administration
|
47 |
And I add a "Information" question to the feedback with:
|
47 |
And I add a "Information" question to the feedback with:
|
48 |
| Question | this is an information question |
|
48 |
| Question | this is an information question |
|
49 |
| Label | info |
|
49 |
| Label | info |
|
50 |
| Information type | Course |
|
50 |
| Information type | Course |
|
51 |
And I add a "Multiple choice (rated)" question to the feedback with:
|
51 |
And I add a "Multiple choice (rated)" question to the feedback with:
|
Línea 130... |
Línea 130... |
130 |
@javascript
|
130 |
@javascript
|
131 |
Scenario: Site feedback is mapped to courses
|
131 |
Scenario: Site feedback is mapped to courses
|
132 |
And I log in as "manager"
|
132 |
And I log in as "manager"
|
133 |
And I am on site homepage
|
133 |
And I am on site homepage
|
134 |
And I follow "Course feedback"
|
134 |
And I follow "Course feedback"
|
135 |
And I follow "Mapped courses"
|
135 |
And I navigate to "Mapped courses" in current page administration
|
136 |
And I set the field "Courses" to "Course 2, Course 3"
|
136 |
And I set the field "Courses" to "Course 2, Course 3"
|
137 |
And I press "Save changes"
|
137 |
And I press "Save changes"
|
138 |
And I should see "Course mapping has been changed"
|
138 |
And I should see "Course mapping has been changed"
|
139 |
And I log out
|
139 |
And I log out
|
Línea 226... |
Línea 226... |
226 |
And I am on site homepage
|
226 |
And I am on site homepage
|
227 |
And I turn editing mode on
|
227 |
And I turn editing mode on
|
228 |
And I add the "Feedback" block
|
228 |
And I add the "Feedback" block
|
229 |
And I add the "Main menu" block
|
229 |
And I add the "Main menu" block
|
230 |
And I click on "Delete" "link" in the "Course feedback" activity
|
230 |
And I click on "Delete" "link" in the "Course feedback" activity
|
231 |
And I press "Yes"
|
231 |
And I press "Delete"
|
232 |
And I turn editing mode off
|
232 |
And I turn editing mode off
|
233 |
And I am on site homepage
|
233 |
And I am on site homepage
|
234 |
Then "Feedback" "block" should not exist
|
234 |
Then "Feedback" "block" should not exist
|
235 |
And I am on "Course 1" course homepage
|
235 |
And I am on "Course 1" course homepage
|
236 |
And "Feedback" "block" should not exist
|
236 |
And "Feedback" "block" should not exist
|