Sha256: 5a9e0428cdc5b189cb29d4ca09c8af6cabfa95fc1b46b805ac0ec7d6176fd6fe
Contents?: true
Size: 669 Bytes
Versions: 24
Compression:
Stored size: 669 Bytes
Contents
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED require 'unittests/setup' class ClickNoWait_Tests < Watir::TestCase def setup goto_page 'click_no_wait.html' end def test_click_no_wait message_div = browser.div(:id => 'div1') assert_equal("nothing", message_div.text) browser.link(:id => 'link1').click_no_wait assert_nothing_raised { Watir::Wait.until {message_div.text == "message!"} } end def test_spawned_click_no_wait_command assert_equal("start rubyw -e \"some command\"", browser.link(:id => 'link1').send(:spawned_no_wait_command, "some command")) end end
Version data entries
24 entries across 24 versions & 2 rubygems