mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
09668285d6
Bug: T296187 Change-Id: Iac98690dd49b6e82062973da05ce30c6f08ba8bc
21 lines
532 B
JavaScript
21 lines
532 B
JavaScript
'use strict';
|
|
const assert = require( 'assert' );
|
|
const EditPage = require( '../pageobjects/edit.page' );
|
|
const Util = require( 'wdio-mediawiki/Util' );
|
|
const LoginPage = require( 'wdio-mediawiki/LoginPage' );
|
|
|
|
describe( 'Content Editable', function () {
|
|
|
|
it( 'should load when an url is opened', async function () {
|
|
await LoginPage.loginAdmin();
|
|
const name = Util.getTestString();
|
|
|
|
await EditPage.openForEditing( name );
|
|
|
|
await EditPage.activationComplete();
|
|
assert( await EditPage.notices.isDisplayed() );
|
|
|
|
} );
|
|
|
|
} );
|