mediawiki-extensions-Visual.../tests/selenium/pageobjects/edit.page.js

14 lines
319 B
JavaScript
Raw Normal View History

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