Selenium/Ruby/Selenium Jenkins job

For this example, we will target English Wikipedia at the Beta Cluster using Sauce Labs. You will need internet access. Selenium Jenkins jobs run once every day, but you can also start them manually.



Advantages

 * You do not have to install anything on your machine.
 * You are probably already familiar with Jenkins.
 * While the tests are running, you can continue using your machine as usual, because everything is happening in Jenkins.
 * Debugging failed tests will be easier, since you will see the browser, logs, screenshots and video of the test run.
 * You can run tests using any operating system and browser combination that Sauce Labs supports.

Disadvantages

 * You will need internet connection while running the tests.
 * It will be slower that running tests on your machine.
 * 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.
 * You might not be familiar with Jenkins, so you will have to learn how to use yet another tool.

Run the Selenium tests

 * Log in to Jenkins.
 * Go to selenium-Core job.
 * Click Build Now.
 * In Build History a new job will be blinking at the top of the list, for example #151.
 * Click job number, in this case #151.
 * Under Configurations click default.
 * Click Console Output.
 * If the job has been running for a while, there will be Full Log link at the top of the page. You can click it to load the entire console output.