@@ -162,20 +162,18 @@ Feature: Configuring the theme_boost_union plugin for the "Navigation" tab on th
162162 | Category ED | 1 | CED | CE |
163163 | Category EDC | 2 | CEDC | CED |
164164 | Category EDCB | 3 | CEDCB | CEDC |
165- | Category EDCBA | 4 | CEDCBA | CEDCB |
166165 And the following "courses" exist:
167166 | fullname | shortname | category |
168167 | Course C1 | CC1 | CE |
169168 | Course C2 | CC2 | CED |
170169 | Course C3 | CC3 | CEDC |
171170 | Course C4 | CC4 | CEDCB |
172- | Course C5 | CC5 | CEDCBA |
173171 And the following "course enrolments" exist:
174172 | user | course | role |
173+ | teacher1 | CC1 | editingteacher |
175174 | teacher1 | CC2 | editingteacher |
176175 | teacher1 | CC3 | editingteacher |
177176 | teacher1 | CC4 | editingteacher |
178- | teacher1 | CC5 | editingteacher |
179177 And the following config values are set as admin:
180178 | config | value | plugin |
181179 | categorybreadcrumbs | <setting > | theme_boost_union |
@@ -194,12 +192,6 @@ Feature: Configuring the theme_boost_union plugin for the "Navigation" tab on th
194192 And "Category ED" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
195193 And "Category EDC" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
196194 And "Category EDCB" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
197- And I am on "Course C5" course homepage
198- And "Category E" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
199- And "Category ED" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
200- And "Category EDC" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
201- And "Category EDCB" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
202- And "Category EDCBA" "link" <shouldornot> exist in the ".breadcrumb" "css_element"
203195
204196 Examples :
205197 | setting | shouldornot |
@@ -213,24 +205,17 @@ Feature: Configuring the theme_boost_union plugin for the "Navigation" tab on th
213205 | Category ED | 1 | CED | CE |
214206 And the following "courses" exist:
215207 | fullname | shortname | category |
216- | Course C1 | CC1 | CE |
217- | Course C2 | CC2 | CED |
208+ | Course C1 | CC1 | CED |
218209 And the following "course enrolments" exist:
219210 | user | course | role |
220- | teacher1 | CC2 | editingteacher |
211+ | teacher1 | CC1 | editingteacher |
221212 And the following config values are set as admin:
222213 | config | value | plugin |
223214 | categorybreadcrumbs | yes | theme_boost_union |
224215 And "Course C1" has been set to one page per section
225- And "Course C2" has been set to one page per section
226216 When I log in as "teacher1"
227217 And I am on section "1" page of "Course C1" course
228218 Then "Category E" "link" should exist in the ".breadcrumb" "css_element"
229- And "Enrolment options" "text" should exist in the ".breadcrumb" "css_element"
230- And "Enrolment options" "text" should appear after "Category E" "link" in the ".breadcrumb" "css_element"
231- And "Topic 1" "link" should not exist in the ".breadcrumb" "css_element"
232- And I am on section "1" page of "Course C2" course
233- And "Category E" "link" should exist in the ".breadcrumb" "css_element"
234219 And "Category ED" "link" should exist in the ".breadcrumb" "css_element"
235220 And "Topic 1" "link" should exist in the ".breadcrumb" "css_element"
236221 And "Category ED" "link" should appear after "Category E" "link" in the ".breadcrumb" "css_element"
0 commit comments