Selenium/How-to/Run tests using Quibble Jenkins job

For this example, you will need internet access. At the moment, mediawiki-core-qunit-selenium-jessie Jenkins job runs in  and   pipelines for a few repositories. For example, it runs automatically every time you push a mediawiki/core patch to Gerrit. It also runs in  pipeline for a few repositories. You can also start it manually.



Advantages

 * You do not have to install anything on your machine.
 * You are probably already familiar with Gerrit and 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 about 3 minutes for the Jenkins job to run for mediawiki/core.

Disadvantages

 * You will need internet connection while running the tests.
 * You might not be familiar with Gerrit or 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
In  look for the Jenkins job.

Example:

Run the Jenkins job

 * Upload a patch to Gerrit for a repository.
 * Example: 328191 for mediawiki/core
 * Reply to the commit with
 * the Jenkins job will run
 * when all Jenkins jobs configured for the repository are finished, jenkins-bot will leave a comment in Gerrit with links
 * click mediawiki-core-selenium-jessie link
 * optionally, click Full Log link at the top of the page

Example: