__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@core @core_block
Feature: Block region moving
In order to configure blocks appearance
As a teacher
I need to modify block region for the page
Background:
Given the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And the following "users" exist:
| username | firstname | lastname | email |
| teacher1 | teacher | 1 | teacher1@example.com |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
And the following "activities" exist:
| activity | course | name |
| assign | C1 | Test assign name |
| book | C1 | Test book name |
And the following "mod_book > chapter" exists:
| book | Test book name |
| title | Book title |
| content | Book content test test |
And the following "blocks" exist:
| blockname | contextlevel | reference | pagetypepattern | defaultregion |
| comments | Course | C1 | course-view-* | side-pre |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I configure the "Comments" block
And I set the following fields to these values:
| Display on page types | Any page |
And I press "Save changes"
Scenario: Block settings can be modified so that a block can be moved
When I follow "Test book name"
And I configure the "Comments" block
And I set the following fields to these values:
| Region | Right |
And I press "Save changes"
And I should see "Comments" in the "//*[@id='region-post' or @id='block-region-side-post']" "xpath_element"
| 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 |
|