1441 |
ariadna |
1 |
@theme_boost
|
|
|
2 |
Feature: Course sections selector is not available on boost theme
|
|
|
3 |
In order to view course sections selector
|
|
|
4 |
As admin
|
|
|
5 |
I need to use the classic theme
|
|
|
6 |
|
|
|
7 |
# Please note: This is a sister test to "Use the course section selector in classic theme" to confirm
|
|
|
8 |
# that the "Jump to" menu does not exist on the section page.
|
|
|
9 |
Scenario Outline: Course sections selector is not available on boost theme regardless of the course format
|
|
|
10 |
Given the following "courses" exist:
|
|
|
11 |
| fullname | shortname | format | coursedisplay | initsections |
|
|
|
12 |
| Course 1 | C1 | <courseformat> | 1 | 1 |
|
|
|
13 |
# Add activities in different sections to test that only the selected section's activity is visible.
|
|
|
14 |
And the following "activities" exist:
|
|
|
15 |
| activity | course | name | section |
|
|
|
16 |
| forum | C1 | Forum 1 | 1 |
|
|
|
17 |
| assign | C1 | Assign 1 | 2 |
|
|
|
18 |
And I am on the "Course 1" course page logged in as admin
|
|
|
19 |
When I click on "Go to section Section 1" "link"
|
|
|
20 |
# Confirm that only the selected section's activity is visible.
|
|
|
21 |
Then I should see "Forum 1"
|
|
|
22 |
And I should not see "Assign 1"
|
|
|
23 |
# Confirm that the "Jump to" menu does not exist on the view section page.
|
|
|
24 |
And "jump" "select" should not exist
|
|
|
25 |
|
|
|
26 |
Examples:
|
|
|
27 |
| courseformat |
|
|
|
28 |
| topics |
|
|
|
29 |
| weeks |
|