mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
Update Selenium tests to obtain correctly element
This change is needed to unblock a change in core to the markup. (I0195d4b0f790f6595cc626a6db96b4fc6380a0f4). The current markup in core is loading additional CSS styles to support legacy markup. Bug: T360668 Change-Id: I4bd1a8a9d4eda1b3e89d067d6671d3f8bad4f584
This commit is contained in:
parent
dcf992aa89
commit
4124d56fd7
|
@ -50,11 +50,11 @@ class ViewEditPage extends Page {
|
|||
}
|
||||
|
||||
get error() {
|
||||
return $( '.mw-message-box-error' );
|
||||
return $( '.cdx-message--error' );
|
||||
}
|
||||
|
||||
get warning() {
|
||||
return $( '.mw-message-box-warning' );
|
||||
return $( '.cdx-message--warning' );
|
||||
}
|
||||
|
||||
async submit() {
|
||||
|
|
|
@ -12,7 +12,7 @@ class ViewListPage extends Page {
|
|||
}
|
||||
|
||||
get filterSavedNotice() {
|
||||
return $( '.mw-message-box-success' );
|
||||
return $( '.cdx-message--success' );
|
||||
}
|
||||
|
||||
async savedFilterID() {
|
||||
|
|
Loading…
Reference in a new issue