mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-13 08:31:23 +00:00
dd4539b522
Check that a user gets an alert when their username is mentioned by another user. Bug: T224894 Change-Id: I303e10a40d1092e4b9f81deef0f1ac2af6f7a435
13 lines
456 B
JavaScript
13 lines
456 B
JavaScript
'use strict';
|
|
const Page = require( 'wdio-mediawiki/Page' );
|
|
|
|
class EchoPage extends Page {
|
|
|
|
get alerts() { return browser.element( '#pt-notifications-alert' ); }
|
|
get notices() { return browser.element( '#pt-notifications-notice' ); }
|
|
get flyout() { return browser.element( '.oo-ui-popupWidget-popup' ); }
|
|
get alertMessage() { return browser.element( '.mw-echo-ui-notificationItemWidget-content-message-header' ); }
|
|
|
|
}
|
|
module.exports = new EchoPage();
|