jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/395040 )

Change subject: Small adjustments to nodejs integration tests
......................................................................


Small adjustments to nodejs integration tests

Adjust some timeouts
Be more precise in smoke test to avoid failures

Change-Id: Ie4a4fa65763c1be3c224b89c8f3e0891e5c21558
---
M tests/integration/features/smoke.feature
M tests/integration/features/step_definitions/page_step_helpers.js
M tests/integration/features/support/hooks.js
3 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Cindy-the-browser-test-bot: Looks good to me, but someone else must approve
  EBernhardson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/integration/features/smoke.feature 
b/tests/integration/features/smoke.feature
index ddef238..5e74243 100644
--- a/tests/integration/features/smoke.feature
+++ b/tests/integration/features/smoke.feature
@@ -15,7 +15,7 @@
   @en.wikipedia.beta.wmflabs.org
   Scenario: Search suggestions
     Given I am at a random page
-    When I type main into the search box
+    When I type main p into the search box
     Then suggestions should appear
     And Main Page is the first suggestion
 
diff --git a/tests/integration/features/step_definitions/page_step_helpers.js 
b/tests/integration/features/step_definitions/page_step_helpers.js
index 0b37135..73829bb 100644
--- a/tests/integration/features/step_definitions/page_step_helpers.js
+++ b/tests/integration/features/step_definitions/page_step_helpers.js
@@ -145,7 +145,7 @@
                return new Promise( ( resolve ) => setTimeout( resolve, ms ) );
        }
 
-       waitForOperation( operation, title, timeoutMs = 30000 ) {
+       waitForOperation( operation, title, timeoutMs = 60000 ) {
                return Promise.coroutine( function* () {
                        let start = new Date();
                        if ( ( operation === 'upload' || operation === 
'uploadOverwrite' ) && title.substr( 0, 5 ) !== 'File:' ) {
diff --git a/tests/integration/features/support/hooks.js 
b/tests/integration/features/support/hooks.js
index 1591c23..3f79285 100644
--- a/tests/integration/features/support/hooks.js
+++ b/tests/integration/features/support/hooks.js
@@ -483,7 +483,7 @@
                }
        } ) );
 
-       BeforeOnce( { tags: "@go or @options", timeout: 60000 }, runBatchFn( {
+       BeforeOnce( { tags: "@go or @options", timeout: 120000 }, runBatchFn( {
                edit: {
                        'son Nearmatchflattentest': 'son Nearmatchflattentest',
                        'Son Nearmatchflattentest': 'Son Nearmatchflattentest',
@@ -544,7 +544,7 @@
                }
        } ) );
 
-       BeforeOnce( { tags: "@relevancy" }, runBatchFn( {
+       BeforeOnce( { tags: "@relevancy", timeout: 120000 }, runBatchFn( {
                edit: {
                        'Relevancytest': 'it is not relevant',
                        'Relevancytestviaredirect': 'not relevant',

-- 
To view, visit https://gerrit.wikimedia.org/r/395040
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4a4fa65763c1be3c224b89c8f3e0891e5c21558
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: DCausse <[email protected]>
Gerrit-Reviewer: Cindy-the-browser-test-bot <[email protected]>
Gerrit-Reviewer: DCausse <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: Tjones <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to