Selenium/Ruby/Target beta cluster using Sauce Labs

For this example, we will target English Wikipedia at the Beta Cluster using Sauce Labs. You will need internet access.

Advantages

 * You do not have to install or learn how to use MediaWiki-Vagrant.
 * While the tests are running, you can continue using your machine as usual, because everything is happening inside the virtual machine at Sauce Labs.
 * Debugging failed tests will be easier, since you will see the browser, logs, screenshots and video of the test run.
 * You do not have to have Firefox installed.

Disadvantages

 * You will need internet connection while running the tests.
 * The tests will be slower since the target machine is not local.
 * You will have to install Selenium and it's dependencies on your machine.
 * It will also be slow.
 * MediaWiki core Selenium test run takes about X minutes on my machine.
 * It takes about 6-7 minutes for selenium-Core Jenkins job to run.

Clone MediaWiki core
There are several ways to clone the MediaWiki core repository (anonymous http, http, ssh). We will use anonymous http since it is the simplest.

Install dependencies
Depending on your operating system, installing dependencies will be different.

Ruby
Installing Ruby might be easy, or harder.


 * On Linux, please use appropriate package manager.
 * On Windows, please use RubyInstaller.
 * It should already installed on Mac machines.

After installation, check if everything is all right.

Install required Ruby packages (gems).

Run the Selenium tests
To get the real value of  please contact Wikimedia Release Engineering Team.