Hi Benedikt and Marcus,
I had some time and was reading about current issues around MediaWiki. I saw an issue about tab names - Bug 29310 Namespace tab doesn't handle fallback the same way as core (breaks nstab) - and created a Selenium regression test to verify when it is fixed. It is called javascript-unit-testing-checking-tabs-and-content. It verifies that the tab names are correct. I also created a test suite - test-suite-check-tabs. The suite includes a test to check the tabs on the main media wiki site (a test that passes) and the test - javscript-unit-testing-checking-tabs-and-content. Would you provided feedback as to how useful the tests and how to improve them?
Michelle Knight (503) 345-4350 mknight1130@gmail.com
Michelle:
Thanks for the test & test suite! Just wanted to update you that it seems like fewer and fewer MediaWiki developers are interested in Selenium tests, and many are moving to other tools for automatic testing:
http://www.mediawiki.org/wiki/Requests_for_comment/Unit_testing
http://www.mediawiki.org/wiki/Test_framework_deployment#Status:_Permanent_hi...
http://www.mediawiki.org/wiki/Selenium_Framework#Selenium.27s_uses_.26_flaws
Would you be interested in writing test suites or tests for some of these other tools?
Sumana Harihareswara Volunteer Development Coordinator Wikimedia Foundation
On Tue, Jul 5, 2011 at 11:02 PM, Michelle Knight mknight113071@gmail.comwrote:
Hi Benedikt and Marcus,
I had some time and was reading about current issues around MediaWiki. I saw an issue about tab names - Bug 29310 Namespace tab doesn't handle fallback the same way as core (breaks nstab) - and created a Selenium regression test to verify when it is fixed. It is called javascript-unit-testing-checking-tabs-and-content. It verifies that the tab names are correct. I also created a test suite - test-suite-check-tabs. The suite includes a test to check the tabs on the main media wiki site (a test that passes) and the test - javscript-unit-testing-checking-tabs-and-content. Would you provided feedback as to how useful the tests and how to improve them?
Michelle Knight
Hi Michelle,
Sorry for answering late, but I only occasionally look into Wikitech-l.
Currently, I am working on integrating Selenium system tests into Semantic MediaWiki. We have created around 20 tests that I want to add to SMW to be run with the WMF Selenium framework.
While doing this, I will try to have a look into your tests, also.
Besides: What I still haven't managed from the documentation: How to clean up the wiki before a test? So far, I just run the tests on an empty wiki, but having a dedicated session opened for the test would be awesome. Have you managed this?
Best,
Benedikt
-- AIFB, Karlsruhe Institute of Technology (KIT) Phone: +49 721 608-47946 Email: benedikt.kaempgen@kit.edu Web: http://www.aifb.kit.edu/web/Hauptseite/en
-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Michelle Knight Sent: Wednesday, July 06, 2011 5:02 AM To: wikitech-l@lists.wikimedia.org Subject: [Wikitech-l] [Selenium] IDE test for regressing bughttps://bugzilla.wikimedia.org/show_bug.cgi?id=29310
Hi Benedikt and Marcus,
I had some time and was reading about current issues around MediaWiki. I saw an issue about tab names - Bug 29310 Namespace tab doesn't handle fallback the same way as core (breaks nstab) - and created a Selenium regression test to verify when it is fixed. It is called javascript-unit-testing-checking-tabs-and-content. It verifies that the tab names are correct. I also created a test suite - test-suite-check-tabs. The suite includes a test to check the tabs on the main media wiki site (a test that passes) and the test - javscript-unit-testing-checking-tabs-and-content. Would you provided feedback as to how useful the tests and how to improve them?
Michelle Knight (503) 345-4350 mknight1130@gmail.com
On Fri, Jul 15, 2011 at 9:25 AM, Benedikt Kämpgen benedikt.kaempgen@kit.edu wrote:
Currently, I am working on integrating Selenium system tests into Semantic MediaWiki. We have created around 20 tests that I want to add to SMW to be run with the WMF Selenium framework.
The WMF Selenium grid was put on hold indefinitely.
-Chad
wikitech-l@lists.wikimedia.org