jenkins-bot has submitted this change and it was merged.

Change subject: Run time QUnit tests automatically with Selenium
......................................................................


Run time QUnit tests automatically with Selenium

Bug: 48145
Change-Id: I93fe6cc55e3b439efbd7032fba731cb206f716b7
---
M repo/tests/selenium/qunit/qunit_spec.rb
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Tobias Gritschacher: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/tests/selenium/qunit/qunit_spec.rb 
b/repo/tests/selenium/qunit/qunit_spec.rb
index 0b9c451..ada6154 100644
--- a/repo/tests/selenium/qunit/qunit_spec.rb
+++ b/repo/tests/selenium/qunit/qunit_spec.rb
@@ -70,5 +70,12 @@
         page.qunitTestFail?.should be_false
       end
     end
+    it "run time tests" do
+      on_page(QUnitPage) do |page|
+        page.call_qunit(WIKI_REPO_URL + 
"Special:JavaScriptTest/qunit?filter=time")
+        page.wait_for_qunit_tests
+        page.qunitTestFail?.should be_false
+      end
+    end
   end
 end

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I93fe6cc55e3b439efbd7032fba731cb206f716b7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: Daniel Werner <[email protected]>
Gerrit-Reviewer: Henning Snater <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to