# Customize this configuration as necessary to provide defaults for various
# test environments.
#
# The set of defaults to use is determined by the MEDIAWIKI_ENVIRONMENT
# environment variable.
#
#   export MEDIAWIKI_ENVIRONMENT=mw-vagrant-host
#   bundle exec cucumber
#
# Additional variables set by the environment will override the corresponding
# defaults defined here.
#
#   export MEDIAWIKI_ENVIRONMENT=mw-vagrant-host
#   export MEDIAWIKI_USER=Selenium_user2
#   bundle exec cucumber
#
mw-vagrant-host: &default
  browser: phantomjs
  mediawiki_api_url: http://cirrustest.wiki.local.wmftest.net:8080/w/api.php
  mediawiki_commons_api_url: http://commons.wiki.local.wmftest.net:8080/w/api.php
  mediawiki_url: http://cirrustest.wiki.local.wmftest.net:8080/wiki/
  mediawiki_url_commons: http://commons.wiki.local.wmftest.net:8080/wiki/
  mediawiki_user: admin
  mediawiki_password: vagrant
  reuse_browser: true
  screenshot_failures: true

mw-vagrant-guest:
  user_factory: true
  mediawiki_url: http://127.0.0.1/wiki/

beta:
  mediawiki_url: http://en.wikipedia.beta.wmflabs.org/wiki/
  mediawiki_user: Selenium_user
  # mediawiki_password: SET THIS IN THE ENVIRONMENT!

test2:
  mediawiki_url: http://test2.wikipedia.org/wiki/
  mediawiki_user: Selenium_user
  # mediawiki_password: SET THIS IN THE ENVIRONMENT!

integration:
  user_factory: true
  # mediawiki_url: THIS WILL BE SET BY JENKINS

cindy:
  browser: phantomjs
  mediawiki_api_url: http://cirrustest-cirrus-browser-bot.wmflabs.org/w/api.php
  mediawiki_commons_api_url: http://commons-cirrus-browser-bot.wmflabs.org/w/api.php
  mediawiki_url: http://cirrustest-cirrus-browser-bot.wmflabs.org/wiki/
  mediawiki_url_commons: http://commons-cirrus-browser-bot.wmflabs.org/wiki/
  mediawiki_user: admin
  mediawiki_password: vagrant
  reuse_browser: true
  screenshot_failures: true
  headless: true

searchdemo:
  browser: phantomjs
  mediawiki_api_url: http://cirrustest-searchdemo.wmflabs.org/w/api.php
  mediawiki_commons_api_url: http://commons-searchdemo.wmflabs.org/w/api.php
  mediawiki_url: http://cirrustest-searchdemo.wmflabs.org/wiki/
  mediawiki_url_commons: http://commons-searchdemo.wmflabs.org/wiki/
  mediawiki_user: admin
  mediawiki_password: vagrant
  reuse_browser: true
  # screenshot_failures: true
  headless: true


default: *default
