Selenium/How-to/Run tests using selenium-daily Jenkins job

For this example, we will target English Wikipedia at the Beta Cluster. The job runs 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 reasonably easy, since you will see logs and screenshots of the test run.
 * It will be reasonable fast. It takes 1-5 minutes for a Jenkins job to run. (As of October 2019.)

Disadvantages

 * You will need internet connection while running the tests.
 * You might not be familiar with Jenkins, so you will have to learn how to use yet another tool.

Check if the Jenkins job is configured to run for a repository

 * You can find selenium-daily-SITE-EXTENSION at Jenkins Selenium view.


 * In  look for   project. (As of October 2019.)


 * In  look for   project. (As of October 2019.)

Run the Selenium tests

 * Log in to Jenkins.
 * Go to a job. (Example: selenium-daily-beta-MediaWiki.)
 * Click Build with Parameters.
 * Click Build.
 * In Build History a new job will be blinking at the top of the list, for example #106.
 * Click job number, in this case #106.
 * 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.