11@addon_block_site_main_menu @app @block @block_site_main_menu @javascript @lms_from5.0
2- Feature : Basic tests of Main menu block
2+ Feature : Basic tests of Additional activities block
33
44 Background :
55 Given the Moodle site is compatible with this feature
@@ -10,18 +10,18 @@ Feature: Basic tests of Main menu block
1010 | blockname | contextlevel | reference | pagetypepattern | defaultregion |
1111 | site_main_menu | System | 1 | site -index | side -pre |
1212
13- Scenario : View the Main menu block in site home
13+ Scenario : View the Additional activities block in site home
1414 Given the following "activities" exist:
1515 | activity | course | section | name |
1616 | forum | Acceptance test site | 0 | My forum name |
1717 And I entered the app as "student1"
1818 When I press "Site home" in the app
1919 And I press "Open block drawer" in the app
20- Then I should find "My forum name" within "Main menu " "ion-card" in the app
20+ Then I should find "My forum name" within "Additional activities " "ion-card" in the app
2121 When I press "My forum name" in the app
2222 Then the header should be "My forum name" in the app
2323
24- Scenario : Activities in main menu block can be made available but not visible on a course page
24+ Scenario : Activities in additional activities block can be made available but not visible on a course page
2525 Given the following config values are set as admin:
2626 | allowstealth | 1 |
2727 And the following "activities" exist:
@@ -36,8 +36,8 @@ Feature: Basic tests of Main menu block
3636 And I entered the app as "student1"
3737 When I press "Site home" in the app
3838 And I press "Open block drawer" in the app
39- Then I should find "Visible forum" within "Main menu " "ion-card" in the app
40- Then I should not find "My forum name" within "Main menu " "ion-card" in the app
39+ Then I should find "Visible forum" within "Additional activities " "ion-card" in the app
40+ Then I should not find "My forum name" within "Additional activities " "ion-card" in the app
4141 When I press "Visible forum" in the app
4242 Then the header should be "Visible forum" in the app
4343
@@ -51,4 +51,4 @@ Feature: Basic tests of Main menu block
5151 And I entered the app as "student1"
5252 When I press "Site home" in the app
5353 And I press "Open block drawer" in the app
54- Then I should not find "Main menu " in the app
54+ Then I should not find "Additional activities " in the app
0 commit comments