mediawiki-extensions-Echo/tests/selenium/pageobjects/echo.page.js

13 lines
456 B
JavaScript
Raw Normal View History

'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();