Bug: T164721
Change-Id: I7b5f73c6fbaaa221ac1b689344f9015fb903220f
'use strict';
const assert = require( 'assert' ),
EditPage = require( '../pageobjects/edit.page' ),
'use strict';
const assert = require( 'assert' ),
EditPage = require( '../pageobjects/edit.page' ),
- HistoryPage = require( '../pageobjects/history.page' );
+ HistoryPage = require( '../pageobjects/history.page' ),
+ UserLoginPage = require( '../pageobjects/userlogin.page' );
describe( 'Page', function () {
var content,
name;
describe( 'Page', function () {
var content,
name;
+ before( function () {
+ // disable VisualEditor welcome dialog
+ UserLoginPage.open();
+ browser.localStorage( 'POST', { key: 've-beta-welcome-dialog', value: '1' } );
+ } );
+
beforeEach( function () {
browser.deleteCookie();
content = Math.random().toString();
beforeEach( function () {
browser.deleteCookie();
content = Math.random().toString();
+ before( function () {
+ // disable VisualEditor welcome dialog
+ UserLoginPage.open();
+ browser.localStorage( 'POST', { key: 've-beta-welcome-dialog', value: '1' } );
+ } );
+
beforeEach( function () {
browser.deleteCookie();
username = `User-${Math.random().toString()}`;
beforeEach( function () {
browser.deleteCookie();
username = `User-${Math.random().toString()}`;