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:
committed by
Sara Arjona
parent
fb4a9db65e
commit
42d214d0cc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user