mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-04 20:28:49 +00:00
3ea86361a4
The new oouified echo popup makes the tests invalid; this commit rewrites those tests. Also by doing this commit we are upgrading to Selenium 1.4. Change-Id: I26215558768d55be449276c55b4b745c3a458ecb
12 lines
340 B
Ruby
12 lines
340 B
Ruby
require 'mediawiki_selenium'
|
|
|
|
require 'mediawiki_selenium/support'
|
|
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', 10
|
|
PageObject.default_element_wait = env_or_default 'ELEMENT_WAIT_TIMEOUT', 30
|
|
|