MDL-37190 behat: fix for char case in html block test

This commit is contained in:
Jake Dallimore 2018-01-31 09:02:19 +08:00
parent 5cce9a8fff
commit 4cff1e5476
3 changed files with 6 additions and 6 deletions

View File

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

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"

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