mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-04 12:18:30 +00:00
319808de5d
Open the notifications page and check that the notification heading is present. Bug: T217051 Change-Id: I357e83eca9f6d6fe380ec6996fb557d578a76912
12 lines
285 B
JavaScript
12 lines
285 B
JavaScript
const Page = require( 'wdio-mediawiki/Page' );
|
|
|
|
class NotificationsPage extends Page {
|
|
|
|
get notificationHeading() { return browser.element( '#firstHeading' ); }
|
|
open() {
|
|
super.openTitle( 'Special:Notifications', { uselang: 'en' } );
|
|
}
|
|
}
|
|
|
|
module.exports = new NotificationsPage();
|