X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/theme/boost/tests/behat
home
/
cbholdings
/
pasukulu
/
theme
/
boost
/
tests
/
behat
/
📁
..
📄
addblock.feature
(1.67 KB)
📄
behat_theme_boost_behat_navigation.php
(4.25 KB)
📄
blacklist.json
(483 B)
📄
breadcrumb.feature
(4.39 KB)
📄
category_role_assignment.feature
(1.69 KB)
📄
contextmenu.feature
(1.06 KB)
📄
course_reuse.feature
(1.73 KB)
📄
languagemenu.feature
(3.87 KB)
📄
mycoursesblocks.feature
(1.42 KB)
📄
primarynav.feature
(5.44 KB)
📄
regionmainsettingsmenu.feature
(1.21 KB)
📄
reset_tour.feature
(1.18 KB)
📄
settingstabs.feature
(944 B)
📄
tour_filter.feature
(2.01 KB)
📄
welcome_to_moodle.feature
(1.54 KB)
Editing: addblock.feature
@javascript @theme_boost Feature: Add a block using boost theme In order to decide the blocks to display in the Add a block list for a theme As an administrator I need to define them using the unaddableblocks setting Background: Given the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And I log in as "admin" Scenario: Default blocks defined in unaddableblocks settings are not displayed in the Add a block list Given I am on "Course 1" course homepage with editing mode on When I click on "Add a block" "link" Then I should not see "Administration" And I should not see "Navigation" And I should not see "Courses" And I should not see "Section links" And I should see "Online users" Scenario: Admins can change unaddable blocks using the unaddableblocks setting Given the following config values are set as admin: | unaddableblocks | settings,private_files | theme_boost| And I am on "Course 1" course homepage with editing mode on When I click on "Add a block" "link" Then I should not see "Administration" And I should not see "Private files" And I should see "Navigation" And I should see "Courses" And I should see "Section links" Scenario: If unaddableblocks settting is empty, no block is excluded from the Add a block list Given the following config values are set as admin: | unaddableblocks | | theme_boost| And I am on "Course 1" course homepage with editing mode on When I click on "Add a block" "link" Then I should see "Administration" And I should see "Navigation" And I should see "Courses" And I should see "Section links"
Upload File
Create Folder