From 2ccf8dd59c02cf26cdc7ef32a5ae290029bb79a8 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 10 May 2021 10:36:42 +1200 Subject: [PATCH] Fix custom field behat test. --- tests/behat/attendance_mod.feature | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 |