Sha256: baab6f5e6cdf4e167c64c4a967c8921527086ea1a1d1afb484acf49f4887cbb9
Contents?: true
Size: 723 Bytes
Versions: 37
Compression:
Stored size: 723 Bytes
Contents
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED require 'unittests/setup' class TC_Performance < Test::Unit::TestCase def setup uses_page 'wallofcheckboxes.html' end # http://jira.openqa.org/browse/WTR-216 # This should take about a quarter of a second. When the bug showed up (because the # fast_locate method was broken), it took nearly 10 seconds. def test_access_checkbox start_time = Time.now browser.checkbox(:name, 'custom_monetary_value10:config.admin.required999').set elapsed_time = Time.now - start_time assert(elapsed_time < 1.5, "Elapsed time is #{elapsed_time}, should be less than 1.5 seconds.") end end
Version data entries
37 entries across 37 versions & 2 rubygems