Selenium/Ruby/Target beta cluster

For this example, we will target English Wikipedia at the Beta Cluster.

Advantages

 * You do not have to install or learn how to use MediaWiki-Vagrant.
 * It will also be reasonably fast.
 * MediaWiki core Selenium test run takes about 3-4 minutes on my machine.
 * It takes about 6-7 minutes for selenium-Core Jenkins job to run.
 * Debugging failed tests will be easier, since you will see the browser.

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.
 * While the tests are running the host machine will be pretty unusable because Firefox will be opening and closing for every test and stealing focus.

Clone MediaWiki core
You will need internet access for this step. 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
You will need internet access for this step. Depending on your operating system, installing dependencies will be different.

Firefox
Install Firefox 47.0.1. (We are working on adding support for newer versions.)

Ruby
Installing Ruby might be easier, 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).