mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-03 20:06:59 +00:00
11 lines
346 B
Ruby
11 lines
346 B
Ruby
require 'mediawiki_selenium/cucumber'
|
|
require 'mediawiki_selenium/pages'
|
|
require 'mediawiki_selenium/step_definitions'
|
|
|
|
def env_or_default(key, default)
|
|
ENV[key].nil? ? default : ENV[key].to_i
|
|
end
|
|
|
|
PageObject.default_page_wait = env_or_default 'PAGE_WAIT_TIMEOUT', 60
|
|
PageObject.default_element_wait = env_or_default 'ELEMENT_WAIT_TIMEOUT', 60
|
|
|