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:
Jon Robson 2024-09-20 14:39:19 -07:00
parent dcf992aa89
commit 4124d56fd7
2 changed files with 3 additions and 3 deletions

View file

@ -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() {

View file

@ -12,7 +12,7 @@ class ViewListPage extends Page {
}
get filterSavedNotice() {
return $( '.mw-message-box-success' );
return $( '.cdx-message--success' );
}
async savedFilterID() {