X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/theme/classic/tests/behat
home
/
cbholdings
/
pasukulu
/
theme
/
classic
/
tests
/
behat
/
📁
..
📄
addblock.feature
(1.34 KB)
📄
behat_theme_classic_behat_admin.php
(4.29 KB)
📄
behat_theme_classic_behat_blocks.php
(4 KB)
📄
behat_theme_classic_behat_completion.php
(1.57 KB)
📄
behat_theme_classic_behat_core_question.php
(2 KB)
📄
behat_theme_classic_behat_course.php
(2.82 KB)
📄
behat_theme_classic_behat_general.php
(2.1 KB)
📄
behat_theme_classic_behat_grade.php
(2.18 KB)
📄
behat_theme_classic_behat_grading.php
(1.64 KB)
📄
behat_theme_classic_behat_navigation.php
(18.97 KB)
📄
behat_theme_classic_behat_repository_upload.php
(2.9 KB)
📄
blacklist.json
(668 B)
📄
category_role_assignment.feature
(1.6 KB)
📄
courseadministrationmenu.feature
(1011 B)
📄
mycoursesblocks.feature
(1.21 KB)
📄
pageadministrationmenu.feature
(2.11 KB)
📄
welcome_to_classicmoodle.feature
(1.33 KB)
Editing: addblock.feature
@javascript @theme_classic Feature: Add a block using classic theme In order to check the blocks to display in the Add a block list for a them As an administrator I need to confirm the unaddableblocks setting is empty for classic. Background: Given the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And I log in as "admin" Scenario: All the expected blocks are displayed in the Add a block list for classic Given I am on "Course 1" course homepage with editing mode on When I click on "Add a block" "select" Then I should see "Administration" And I should see "Navigation" And I should see "Courses" And I should see "Section links" Scenario: Admins can change unaddable blocks using the unaddableblocks setting for classic Given the following config values are set as admin: | unaddableblocks | online_users,private_files,settings | theme_classic| And I am on "Course 1" course homepage with editing mode on When I click on "Add a block" "select" Then I should not see "Online users" And I should not see "Private files" # The settings block is defined as required block for classic, so it will be displayed always. And I should see "Administration" And I should see "Navigation" And I should see "Courses" And I should see "Section links"
Upload File
Create Folder