idealistdev/alfajor — pull request #10 by scooterXL (2011-11-01 19:08:23+00:00)
Title: Saucelabs branch

This adds some config directives and a nose argument to enable running selenium tests backed by saucebox. Watch out for the Thai Boyfriend.

I'm not totally sold on the hackery I added to the config finding, but it allowed my to drop saucebox alfajor configs parallel to the non-saucebox ones. When I came to running it for idealist I had to specify the config fully qualified anyway.

There's also a couple of test fixes and some relaxing of timeouts to allow for the network link.

Requires running sauce connect (tunneling proxy) as:

java -jar /idealist/Sauce-Connect.jar sbuser sbapikey

invocations of the alfajor tests were looking like:

bin/nosetests --alfajor-config=alfajor.saucelabs-real.ini --browser=firefox --saucelabs="browser-version=7" --saucelabs="os=Windows 2003" -w tests tests.browser.test_browser:test_wait_for_duration --pdb-f --pdb

There are a handful of failing browser tests on firefox (multiple cookie ones) and a slightly larger handful not yet working on ie (the ajax and js wait for conditions).