mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-74802 core_user: Use button label to close notification alert
With the notification alert's close button now properly labelled, it is better for Behat to interact on it using its label.
This commit is contained in:
parent
0d61bf1b87
commit
bfa2c03191
@ -25,7 +25,7 @@ Feature: Notification shown when user edit profile or preferences
|
||||
Then I set the field "Surname" to "Lil"
|
||||
And I click on "Update profile" "button"
|
||||
And I should see "Changes saved"
|
||||
And I click on ".close" "css_element" in the "div.alert-block" "css_element"
|
||||
And I press "Dismiss this notification"
|
||||
And I should not see "Changes saved"
|
||||
And I follow "Preferences" in the user menu
|
||||
And I follow "Preferred language"
|
||||
|
Loading…
x
Reference in New Issue
Block a user