Browse Source

Fix custom field behat test.

40-behatfixes
Dan Marsden 4 years ago
parent
commit
2ccf8dd59c
  1. 6
      tests/behat/attendance_mod.feature

6
tests/behat/attendance_mod.feature

@ -123,7 +123,8 @@ Feature: Teachers and Students can record session attendance
# Add custom field. # Add custom field.
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Users > Accounts > User profile fields" in site administration 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: And I set the following fields to these values:
| Short name | superfield | | Short name | superfield |
| Name | Super field | | Name | Super field |
@ -136,7 +137,8 @@ Feature: Teachers and Students can record session attendance
# Add custom field. # Add custom field.
Given I log in as "admin" Given I log in as "admin"
And I navigate to "Users > Accounts > User profile fields" in site administration 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: And I set the following fields to these values:
| Short name | superfield | | Short name | superfield |
| Name | Super field | | Name | Super field |

Loading…
Cancel
Save