mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
14 lines
319 B
JavaScript
14 lines
319 B
JavaScript
|
'use strict';
|
||
|
const Page = require( 'wdio-mediawiki/Page' );
|
||
|
|
||
|
class EditPage extends Page {
|
||
|
|
||
|
get notices() { return $( '.ve-ui-mwNoticesPopupTool-items' ); }
|
||
|
|
||
|
openForEditing( title ) {
|
||
|
super.openTitle( title, { veaction: 'edit', vehidebetadialog: 1, hidewelcomedialog: 1 } );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
module.exports = new EditPage();
|