mediawiki-extensions-Visual.../tests/selenium/specs/content_editable.js
Esther Akinloose 698075a6df selenium: Rename load test to content editable
Bug: T296187
Change-Id: I2e4f1f672bb3414444839013cc82897d56bf48b5
2022-01-24 16:24:56 +01:00

21 lines
508 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', function () {
LoginPage.loginAdmin();
const name = Util.getTestString();
EditPage.openForEditing( name );
EditPage.notices.waitForDisplayed();
assert( EditPage.notices.isDisplayed() );
} );
} );