mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-37190 blocks: Block name label consistency
AMOS BEGIN MOV [blocktitle,blog],[configtitle,block_blog_tags] AMOS END
This commit is contained in:
parent
a4f914b54d
commit
916a72bb51
13 changed files with 54 additions and 15 deletions
|
@ -12,10 +12,11 @@ Feature: Adding and configuring HTML blocks
|
|||
And I add the "HTML" block
|
||||
And I configure the "(new HTML block)" block
|
||||
And I set the field "Content" to "Static text without a header"
|
||||
Then I should see "HTML block title"
|
||||
And I press "Save changes"
|
||||
Then I should not see "(new HTML block)"
|
||||
And I configure the "block_html" block
|
||||
And I set the field "Block title" to "The HTML block header"
|
||||
And I set the field "HTML Block title" to "The HTML block header"
|
||||
And I set the field "Content" to "Static text with a header"
|
||||
And I press "Save changes"
|
||||
And "block_html" "block" should exist
|
||||
|
@ -32,7 +33,7 @@ Feature: Adding and configuring HTML blocks
|
|||
And I press "Save changes"
|
||||
Then I should not see "(new HTML block)"
|
||||
And I configure the "block_html" block
|
||||
And I set the field "Block title" to "The HTML block header"
|
||||
And I set the field "HTML Block title" to "The HTML block header"
|
||||
And I set the field "Content" to "Static text with a header"
|
||||
And I press "Save changes"
|
||||
And "block_html" "block" should exist
|
||||
|
|
|
@ -21,15 +21,15 @@ Feature: HTML blocks in a course
|
|||
And I add the "HTML" block
|
||||
And I configure the "(new HTML block)" block
|
||||
And I set the field "Content" to "First block content"
|
||||
And I set the field "Block title" to "First block header"
|
||||
And I set the field "HTML Block title" to "First block header"
|
||||
And I press "Save changes"
|
||||
And I add the "HTML" block
|
||||
And I configure the "(new HTML block)" block
|
||||
And I set the field "Content" to "Second block content"
|
||||
And I set the field "Block title" to "Second block header"
|
||||
And I set the field "HTML Block title" to "Second block header"
|
||||
And I press "Save changes"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I should see "First block content" in the "First block header" "block"
|
||||
And I should see "Second block content" in the "Second block header" "block"
|
||||
And I should see "Second block content" in the "Second block header" "block"
|
||||
|
|
|
@ -29,12 +29,12 @@ Feature: Adding and configuring multiple HTML blocks
|
|||
|
||||
Scenario: Adding multiple instances of HTML block on a page
|
||||
And I configure the "block_html" block
|
||||
And I set the field "Block title" to "The HTML block header"
|
||||
And I set the field "HTML Block title" to "The HTML block header"
|
||||
And I set the field "Content" to "Static text with a header"
|
||||
And I press "Save changes"
|
||||
And I add the "HTML" block
|
||||
And I configure the "(new HTML block)" block
|
||||
And I set the field "Block title" to "The second HTML block header"
|
||||
And I set the field "HTML Block title" to "The second HTML block header"
|
||||
And I set the field "Content" to "Second block contents"
|
||||
And I press "Save changes"
|
||||
And I log out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue