diff --git a/tests/behat/attendance_mod.feature b/tests/behat/attendance_mod.feature index 276593c..665ffce 100644 --- a/tests/behat/attendance_mod.feature +++ b/tests/behat/attendance_mod.feature @@ -123,7 +123,8 @@ Feature: Teachers and Students can record session attendance # Add custom field. Given I log in as "admin" And I navigate to "Users > Accounts > User profile fields" in site administration - And I set the field "datatype" to "Text input" + And I click on "Create a new profile field" "link" + And I click on "Text input" "link" And I set the following fields to these values: | Short name | superfield | | Name | Super field | @@ -136,7 +137,8 @@ Feature: Teachers and Students can record session attendance # Add custom field. Given I log in as "admin" And I navigate to "Users > Accounts > User profile fields" in site administration - And I set the field "datatype" to "Text input" + And I click on "Create a new profile field" "link" + And I click on "Text input" "link" And I set the following fields to these values: | Short name | superfield | | Name | Super field |