mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
screenshots: Suppress welcome dialog with query string
The code approach appears to suffer from a race condition. Change-Id: I1328907b8fb55265275493b3b0d2a9288afea53c
This commit is contained in:
parent
a0241f9345
commit
085d2443d2
|
@ -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 () {
|
||||
|
|
|
@ -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 );
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue