Selenium/How-to/Run tests targeting Quibble

This page describes how to run Selenium tests locally against your own Quibble MediaWiki install.

Advantages

 * It will be fast, since the target machine is local. MediaWiki core Selenium test run takes about 2 minutes on my machine. (As of October 2019.)
 * Works without an internet connection.
 * Doesn't require installing ChromeDriver or FFmpeg (compared to bare installs).
 * Doesn't require executing npm packages directly on your machine (which is scary).

Disadvantages

 * You need to have Docker installed.

Prerequisites

 * Docker. See Docker CE for Linux, Docker for Mac, or Docker for Windows.

Environment variables
Ensure the following environment variables are set. Either run this manually from the terminal or, to make it easier for next time, set them from shell configuration file (, ...) which means the variables are always available from any terminal session: