diff --git a/build/screenshots-client/utils.js b/build/screenshots-client/utils.js index 31a83f67ba..6e89f001ca 100644 --- a/build/screenshots-client/utils.js +++ b/build/screenshots-client/utils.js @@ -100,8 +100,7 @@ module.exports = function () { } }; - // Suppress welcome dialog - mw.storage.set( 've-beta-welcome-dialog', 1 ); + // Welcome dialog suppressed by query string (vehidebetadialog) // Suppress user education indicators mw.storage.set( 've-hideusered', 1 ); mw.hook( 've.activationComplete' ).add( function () { diff --git a/build/screenshots.js b/build/screenshots.js index 293c340b13..8776517967 100644 --- a/build/screenshots.js +++ b/build/screenshots.js @@ -31,7 +31,7 @@ function createScreenshotEnvironment( test, beforeEach ) { driver.manage().timeouts().setScriptTimeout( TIMEOUT ); driver.manage().window().setSize( 1200, 1000 ); - driver.get( 'https://en.wikipedia.org/wiki/Help:Sample_page?veaction=edit&uselang=' + lang ) + driver.get( 'https://en.wikipedia.org/wiki/Help:Sample_page?veaction=edit&vehidebetadialog=1&uselang=' + lang ) .then( null, function ( e ) { console.error( e.message ); } );