Tobias Gritschacher has uploaded a new change for review.
https://gerrit.wikimedia.org/r/64288
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/88/64288/1
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: newchange
Gerrit-Change-Id: I93fe6cc55e3b439efbd7032fba731cb206f716b7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Tobias Gritschacher <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits