mediawiki-extensions-Echo/tests/selenium/pageobjects/echo.page.js
Ed Sanders 2f61c46cf0 build: Update linters
Change-Id: I234e460ce1d1887af17c90cb9536aea76e295ca8
2023-12-04 14:11:35 +00:00

28 lines
509 B
JavaScript

'use strict';
const Page = require( 'wdio-mediawiki/Page' );
class EchoPage extends Page {
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' );
}
}
module.exports = new EchoPage();