| Línea 37... |
Línea 37... |
| 37 |
| forum | C1 | <targetsectionnum> | Test forum name 2 |
|
37 |
| forum | C1 | <targetsectionnum> | Test forum name 2 |
|
| 38 |
| forum | C1 | 1 | Test forum name 3 |
|
38 |
| forum | C1 | 1 | Test forum name 3 |
|
| 39 |
And I am on the "Course 1" course page logged in as "teacher1"
|
39 |
And I am on the "Course 1" course page logged in as "teacher1"
|
| 40 |
When I click on <targetpage> "link" in the "region-main" "region"
|
40 |
When I click on <targetpage> "link" in the "region-main" "region"
|
| 41 |
And I turn editing mode on
|
41 |
And I turn editing mode on
|
| 42 |
And I add the "Recent activity" block
|
- |
|
| 43 |
And I open the action menu in "Recent activity" "block"
|
- |
|
| 44 |
And I click on "Delete Recent activity block" "link"
|
- |
|
| 45 |
And I click on "Delete" "button" in the "Delete block?" "dialogue"
|
- |
|
| 46 |
And <belowpage> "section" should not exist
|
42 |
And <belowpage> "section" should not exist
|
| 47 |
And I open "Test forum name 1" actions menu
|
43 |
And I open "Test forum name 1" actions menu
|
| 48 |
And I click on "Edit settings" "link" in the "Test forum name 1" activity
|
44 |
And I click on "Edit settings" "link" in the "Test forum name 1" activity
|
| 49 |
And I should see "Edit settings"
|
45 |
And I should see "Edit settings"
|
| 50 |
And I should see "Display description on course page"
|
46 |
And I should see "Display description on course page"
|
| Línea 72... |
Línea 68... |
| 72 |
And I show section "1"
|
68 |
And I show section "1"
|
| 73 |
And section "1" should be visible
|
69 |
And section "1" should be visible
|
| 74 |
And I am on the "C1 > Section 1" "course > section" page
|
70 |
And I am on the "C1 > Section 1" "course > section" page
|
| 75 |
And <belowpage> "section" should not exist
|
71 |
And <belowpage> "section" should not exist
|
| 76 |
And the following config values are set as admin:
|
72 |
And the following config values are set as admin:
|
| - |
|
73 |
| showsectionname | 0 | block_section_links |
|
| 77 |
| unaddableblocks | | theme_boost|
|
74 |
| unaddableblocks | | theme_boost |
|
| 78 |
And I add the "Section links" block
|
75 |
And I add the "Section links" block
|
| 79 |
And <belowpage> "section" should not exist
|
76 |
And <belowpage> "section" should not exist
|
| 80 |
And I should see "1 2 3 4 5" in the "Section links" "block"
|
77 |
And I should see "1 2 3 4 5" in the "Section links" "block"
|
| 81 |
And I click on "2" "link" in the "Section links" "block"
|
78 |
And I click on "2" "link" in the "Section links" "block"
|
| 82 |
And I should not see "Test forum name 2"
|
79 |
And I should not see "Test forum name 2"
|
| Línea 113... |
Línea 110... |
| 113 |
| forum | C1 | <targetsectionnum> | Test forum name 2 | 00002 |
|
110 |
| forum | C1 | <targetsectionnum> | Test forum name 2 | 00002 |
|
| 114 |
| forum | C1 | 1 | Test forum name 3 | 00003 |
|
111 |
| forum | C1 | 1 | Test forum name 3 | 00003 |
|
| 115 |
And I am on the "Course 1" course page logged in as "teacher1"
|
112 |
And I am on the "Course 1" course page logged in as "teacher1"
|
| 116 |
When I click on <targetpage> "link" in the "region-main" "region"
|
113 |
When I click on <targetpage> "link" in the "region-main" "region"
|
| 117 |
And I turn editing mode on
|
114 |
And I turn editing mode on
|
| 118 |
And I add the "Recent activity" block
|
- |
|
| 119 |
And I open the action menu in "Recent activity" "block"
|
- |
|
| 120 |
And I click on "Delete Recent activity block" "link"
|
- |
|
| 121 |
And I press "Yes"
|
- |
|
| 122 |
And <belowpage> "section" should not exist
|
115 |
And <belowpage> "section" should not exist
|
| 123 |
And I click on "Edit settings" "link" in the "Test forum name 1" activity
|
116 |
And I click on "Edit settings" "link" in the "Test forum name 1" activity
|
| 124 |
And I should see "Edit settings"
|
117 |
And I should see "Edit settings"
|
| 125 |
And I should see "Display description on course page"
|
118 |
And I should see "Display description on course page"
|
| 126 |
And I press "Save and return to course"
|
119 |
And I press "Save and return to course"
|
| Línea 141... |
Línea 134... |
| 141 |
And section "1" should be hidden
|
134 |
And section "1" should be hidden
|
| 142 |
And all activities in section "1" should be hidden
|
135 |
And all activities in section "1" should be hidden
|
| 143 |
And I show section "1"
|
136 |
And I show section "1"
|
| 144 |
And section "1" should be visible
|
137 |
And section "1" should be visible
|
| 145 |
And the following config values are set as admin:
|
138 |
And the following config values are set as admin:
|
| - |
|
139 |
| showsectionname | 0 | block_section_links |
|
| 146 |
| unaddableblocks | | theme_boost|
|
140 |
| unaddableblocks | | theme_boost |
|
| 147 |
And I add the "Section links" block
|
141 |
And I add the "Section links" block
|
| 148 |
And I should see "1 2 3 4 5" in the "Section links" "block"
|
142 |
And I should see "1 2 3 4 5" in the "Section links" "block"
|
| 149 |
And I click on "2" "link" in the "Section links" "block"
|
143 |
And I click on "2" "link" in the "Section links" "block"
|
| 150 |
And I should not see "Test forum name 2"
|
144 |
And I should not see "Test forum name 2"
|