Increase Mocha and Selenium timeout for language screenshots to 40 s

Bug: T139613
Change-Id: I06499f89f340cfda2f30d80c2f8b721b71627bac
This commit is contained in:
Željko Filipin 2016-08-29 17:54:12 +02:00 committed by Zfilipin
parent fb16967972
commit a7e216dd94
2 changed files with 4 additions and 4 deletions

View file

@ -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 */

View file

@ -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
);
}