mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 01:00:45 +00:00
Fix LanguageScreenshotBot by using an existing article
LanguageScreenshotBot failed because it tries to open VisualEditor on a page that does not exist. Bug: T162454 Change-Id: I5539c54b7c0ce1f302df0962dad19797d26953da
This commit is contained in:
parent
6654de8f0b
commit
ca46a67843
|
@ -31,7 +31,7 @@
|
|||
driver.manage().timeouts().setScriptTimeout( 40000 );
|
||||
driver.manage().window().setSize( 1200, 1000 );
|
||||
|
||||
driver.get( 'https://en.wikipedia.org/wiki/PageDoesNotExist?veaction=edit&uselang=' + lang );
|
||||
driver.get( 'https://en.wikipedia.org/wiki/Help:Sample_page?veaction=edit&uselang=' + lang );
|
||||
driver.wait(
|
||||
driver.executeAsyncScript(
|
||||
// This function is converted to a string and executed in the browser
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
done(
|
||||
seleniumUtils.getBoundingRect( [
|
||||
ve.init.target.toolbar.$element[ 0 ],
|
||||
$( '#ca-nstab-main' )[ 0 ]
|
||||
$( '#p-namespaces' )[ 0 ]
|
||||
] )
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue