mediawiki-extensions-Echo/tests/browser/features/support/env.rb
jdlrobson bb6eef198c QA: Add some basic browser tests
yippee ki yay!
Tests basic functionality
1) presence of Echo button
2) behaviour of clicking Echo button

Change-Id: I6334264e1ee73a59da1e7b0c3f18a1d43b565f3a
2014-08-04 16:22:01 -07:00

10 lines
246 B
Ruby

require 'mediawiki_selenium'
if ( ENV['PAGE_WAIT_TIMEOUT'] ) then
PageObject.default_page_wait = ENV['PAGE_WAIT_TIMEOUT'].to_i
end
if ( ENV['ELEMENT_WAIT_TIMEOUT'] ) then
PageObject.default_element_wait = ENV['ELEMENT_WAIT_TIMEOUT'].to_i
end