mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
0593278d05
The first test just opens the page for editing and checks if it opened. Bug: T284165 Change-Id: Ifffaf3e5ab14811605d96fcdcfdc1f773880e52c
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();
|