Jump to content

Selenium/Getting Started/Run tests targeting Quibble Local

From mediawiki.org

This page describes how to run Selenium tests locally using Quibble Local.

Advantages

[edit]
  • It is simple and only needs Docker installed.
  • Works without an internet connection as long as you have the containers downloaded and MediaWiki started.

Disadvantages

[edit]
  • Running inside Docker is a little bit slower than running directly on your machine.

Prerequisites

[edit]

You need to have Docker installed on your machine.

Setup MediaWiki

[edit]

Inside of your Quibble Local cloned repository run:

./fresh_install

Run Selenium tests

[edit]

Inside of your Quibble Local cloned repository run:

./run_selenium_tests

This will run the WebdriverIO tests inside a container targeting your Quibble Local installation.