Cindy The Browser Test Bot

From Wikitech
Jump to navigation Jump to search

Cindy is the browser test bot which runs browser tests for CirrusSearch extension. It is run on any patch against mediawiki/extensions/CirrusSearch repository and +1 or -1 the patch in Gerrit depending on the test results. It is based on Barry The Browser Test Bot.

The tests

The tests are located in tests/browser subdirectory in the CirrusSearch source. They can also be run manually with:

bundle exec cucumber features/

The bot

The bot is running on cirrus-integ.search.eqiad1.wikimedia.cloud. In order to control it, after logging in, run:

sudo -u vagrant tmux attach

Then you can run the bot with:

~/run-cindy.sh

The bot should always be run from within the tmux session.

Logs can be cleaned with sudo rm /vagrant/logs/*.log* before debugging specific issue.