mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
Increase Mocha and Selenium timeout for language screenshots to 40 s
Bug: T139613 Change-Id: I06499f89f340cfda2f30d80c2f8b721b71627bac
This commit is contained in:
parent
fb16967972
commit
a7e216dd94
|
@ -59,7 +59,7 @@ module.exports = function ( grunt ) {
|
|||
'screenshots-en': {
|
||||
options: {
|
||||
reporter: 'spec',
|
||||
timeout: 30000,
|
||||
timeout: 40000,
|
||||
require: [
|
||||
function () {
|
||||
/* jshint undef:false */
|
||||
|
@ -72,7 +72,7 @@ module.exports = function ( grunt ) {
|
|||
'screenshots-all': {
|
||||
options: {
|
||||
reporter: 'spec',
|
||||
timeout: 30000,
|
||||
timeout: 40000,
|
||||
require: [
|
||||
function () {
|
||||
/* jshint undef:false */
|
||||
|
|
|
@ -28,7 +28,7 @@ function runTests( lang ) {
|
|||
driver = new chrome.Driver();
|
||||
}
|
||||
|
||||
driver.manage().timeouts().setScriptTimeout( 30000 );
|
||||
driver.manage().timeouts().setScriptTimeout( 40000 );
|
||||
driver.manage().window().setSize( 1200, 1000 );
|
||||
|
||||
driver.get( 'https://en.wikipedia.org/wiki/PageDoesNotExist?veaction=edit&uselang=' + lang );
|
||||
|
@ -154,7 +154,7 @@ function runTests( lang ) {
|
|||
}
|
||||
} );
|
||||
} ),
|
||||
30000
|
||||
40000
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue