mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
668a149103
Upgraded mw-selenium to 1.x, following the docs at https://doc.wikimedia.org/rubygems/mediawiki-selenium/file.UPGRADE.html Created an `environments.yml` file, converted page object definitions to use relative paths, and refactored references to the global `ENV` using methods of `MediawikiSelenium::Environment`. Upgraded commons_upload as well to resolve a dependency conflict on mediawiki_api. Paired with: Rummana Yasmeen <ryasmeen@wikimedia.org> Bug: T99661 Change-Id: I2a05cd816ea43afb48157e5dbe1ae42c6c124f6b
38 lines
1 KiB
YAML
38 lines
1 KiB
YAML
# 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:
|
|
mediawiki_url: http://127.0.0.1:8080/wiki/
|
|
mediawiki_user: Selenium_user
|
|
mediawiki_password: vagrant
|
|
|
|
mw-vagrant-guest:
|
|
mediawiki_url: http://127.0.0.1/wiki/
|
|
mediawiki_user: Selenium_user
|
|
mediawiki_password: vagrant
|
|
|
|
beta: &default
|
|
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!
|
|
|
|
default: *default
|