Merge branch 'MDL-37190-master-fix1' of https://github.com/snake/moodle

This commit is contained in:
Andrew Nicols
2018-02-01 10:33:18 +08:00
committed by Jake Dallimore
3 changed files with 6 additions and 6 deletions
@@ -16,7 +16,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 "HTML 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
@@ -33,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 "HTML 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
+2 -2
View File
@@ -21,12 +21,12 @@ 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 "HTML 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 "HTML 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"
@@ -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 "HTML 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 "HTML 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