AutorÃa | Ultima modificación | Ver Log |
@core @core_userFeature: The purpose of each input field collecting information about the user can be determinedBackground:Given the following "users" exist:| username | firstname | lastname | email || unicorn | unicorn | 1 | unicorn@example.com |And the following "courses" exist:| fullname | shortname | category | groupmode || Course 1 | C1 | 0 | 1 |And the following "course enrolments" exist:| user | course | role || unicorn | C1 | student |@javascriptScenario: Fields for other users are not auto filledWhen I am on the "unicorn@example.com" "user > editing" page logged in as "admin"And I expand all fieldsetsThen the field "Username" should not have purpose "username"And the field "First name" should not have purpose "given-name"And the field "Last name" should not have purpose "family-name"And the field "Email" should not have purpose "email"And the field "Select a country" should not have purpose "country"And I press "Cancel"And I follow "Preferred language"And the field "Preferred language" should not have purpose "language"@javascriptScenario: My own user fields are auto filledGiven I log in as "unicorn"When I open my profile in edit modeAnd I expand all fieldsetsThen the field "First name" should have purpose "given-name"And the field "Last name" should have purpose "family-name"And the field "Email" should have purpose "email"And the field "Select a country" should have purpose "country"And I press "Cancel"And I follow "Preferences" in the user menuAnd I follow "Preferred language"And the field "Preferred language" should have purpose "language"