On Tue, Jun 24, 2014 at 3:56 PM, Ryan Kaldari <rkaldari(a)wikimedia.org>
wrote:
Nice work guys! One slight issue though. The user
Selenium_user (as set in
environment_variables) was just indefinitely blocked on en.wiki :(
Yes, and I think we should keep it that way. See my msg. to the mobile-l
and qa lists earlier today:
http://lists.wikimedia.org/pipermail/mobile-l/2014-June/007435.html
These tests are intended as acceptance tests for a new mediawiki install
and smoke tests for a test env like beta labs. Let's not run them against
production.
-Chris
Ryan Kaldari
On Tue, Jun 24, 2014 at 3:46 PM, Chris Steipp <csteipp(a)wikimedia.org>
wrote:
I just +2'ed a change to add a few basic
selenium tests to core [1]. I
think it will benefit us all to have a set of automated tests to
quickly make sure mediawiki is working correctly. From a security
perspective, this also takes a step towards more efficient security
testing, which I'm also a fan of (if you've tried blindly scanning
mediawiki, you know what I'm talking about..).
I think the QA group is working on vagrant-izing these, but if you
have ruby >1.9.3 and firefox, then setting up and running these tests
on your local dev system is 4-6 commands,
$ cd tests/browser
$ gem update --system
$ gem install bundler
$ bundle install
You can either set your environment variables yourself, or edit
environment_variables and run `source environment_variables` to set
them. Then it's just
$ bundle exec cucumber features/
to run the tests. They currently complete in 36 seconds on my laptop.
I'd like to see more tests added and backported to REL1_23 to make
sure we have an ongoing suite to check releases against for next few
years that we support that LTS. If anyone is interested in both
mediawiki core and browser tests, I'm sure the QA team would like to
get you involved.
Big thanks to hashar, Chris McMahon, and Dan Duvall for indulging me
and getting this done. I'll let them jump in with all the details I've
missed.
[1] -
https://gerrit.wikimedia.org/r/#/c/133507/
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l