diff --git a/blocks/html/tests/behat/configuring_html_block.feature b/blocks/html/tests/behat/configuring_html_block.feature
index c8d223193b7..05a00d90ec5 100644
--- a/blocks/html/tests/behat/configuring_html_block.feature
+++ b/blocks/html/tests/behat/configuring_html_block.feature
@@ -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
diff --git a/blocks/html/tests/behat/course_block.feature b/blocks/html/tests/behat/course_block.feature
index affad968942..3341177f494 100644
--- a/blocks/html/tests/behat/course_block.feature
+++ b/blocks/html/tests/behat/course_block.feature
@@ -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"
diff --git a/blocks/html/tests/behat/multiple_instances.feature b/blocks/html/tests/behat/multiple_instances.feature
index d6b7161fbda..3ed187bca5f 100644
--- a/blocks/html/tests/behat/multiple_instances.feature
+++ b/blocks/html/tests/behat/multiple_instances.feature
@@ -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