Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@core @core_messageFeature: To be able to see and save user message preferences as adminAs an adminI need to be able to view and edit message preferences for other usersBackground:Given the following "users" exist:| username | firstname | lastname | email || student1 | Student | 1 | student1@emample.com |And the following "user preferences" exist:| user | preference | value || student1 | message_provider_moodle_instantmessage_enabled | email |@javascriptScenario: As an admin I can view and edit message preferences for a userGiven I log in as "admin"And I navigate to "Messaging > Notification settings" in site administrationAnd I set the field "email" to "1"And I press "Save changes"And I am on the "student1" "user > profile" pageAnd I click on "Preferences" "link" in the "#region-main-box" "css_element"And I click on "Message preferences" "link" in the "#region-main-box" "css_element"And I should not see "Enabled" in the "Email" "table_row"And I click on "//div[@class='preference-state']" "xpath_element"And I log outAnd I log in as "student1"And I follow "Preferences" in the user menuAnd I click on "Message preferences" "link"And the field "Email" matches value "0"