MDL-37190 blocks: Block name label consistency

AMOS BEGIN
    MOV [blocktitle,blog],[configtitle,block_blog_tags]
   AMOS END
This commit is contained in:
Luca Bösch 2018-01-18 14:30:46 +01:00
parent a4f914b54d
commit 916a72bb51
13 changed files with 54 additions and 15 deletions

View file

@ -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

View file

@ -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"

View file

@ -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