2017-07-28 12:05:35 +00:00
|
|
|
'use strict';
|
2018-06-11 15:57:14 +00:00
|
|
|
const Page = require( 'wdio-mediawiki/Page' );
|
2017-07-28 12:05:35 +00:00
|
|
|
|
|
|
|
class EchoPage extends Page {
|
|
|
|
|
2020-05-23 20:36:55 +00:00
|
|
|
get alerts() { return $( '#pt-notifications-alert' ); }
|
|
|
|
get notices() { return $( '#pt-notifications-notice' ); }
|
|
|
|
get alertsFlyout() { return $( '.oo-ui-labelElement-label*=Alerts' ); }
|
|
|
|
get noticesFlyout() { return $( '.oo-ui-labelElement-label*=Notices' ); }
|
|
|
|
get alertMessage() { return $( '.mw-echo-ui-notificationItemWidget-content-message-header' ); }
|
2017-07-28 12:05:35 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
module.exports = new EchoPage();
|