Zfilipin has uploaded a new change for review. https://gerrit.wikimedia.org/r/307313
Change subject: WIP Test not failing the script on Mocha failure ...................................................................... WIP Test not failing the script on Mocha failure Bug: T139613 Change-Id: I1bb6a55280b30dc51c0adf7c105eb0e8922620d0 --- M Gruntfile.js M build/screenshots.js 2 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/13/307313/1 diff --git a/Gruntfile.js b/Gruntfile.js index ee14d32..1094f7d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -59,7 +59,7 @@ 'screenshots-en': { options: { reporter: 'spec', - timeout: 30000, + timeout: 300, require: [ function () { /* jshint undef:false */ @@ -72,7 +72,7 @@ 'screenshots-all': { options: { reporter: 'spec', - timeout: 30000, + timeout: 300, require: [ function () { /* jshint undef:false */ diff --git a/build/screenshots.js b/build/screenshots.js index b70f193..b3ff52d 100644 --- a/build/screenshots.js +++ b/build/screenshots.js @@ -28,7 +28,7 @@ driver = new chrome.Driver(); } - driver.manage().timeouts().setScriptTimeout( 30000 ); + driver.manage().timeouts().setScriptTimeout( 300 ); driver.manage().window().setSize( 1200, 1000 ); driver.get( 'https://en.wikipedia.org/wiki/PageDoesNotExist?veaction=edit&uselang=' + lang ); @@ -154,7 +154,7 @@ } } ); } ), - 30000 + 300 ); } -- To view, visit https://gerrit.wikimedia.org/r/307313 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1bb6a55280b30dc51c0adf7c105eb0e8922620d0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Zfilipin <zfili...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits