Sha256: 90e38179f0a75e4c6dc78444d1f66b94a8de4e01121511ddd1980ef83a9a53d3
Contents?: true
Size: 631 Bytes
Versions: 9
Compression:
Stored size: 631 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_equal("message!", message_div.text) end def test_spawned_click_no_wait_command assert_equal("start rubyw -e \"some command\"", browser.link(:id => 'link1').send(:__spawned_click_no_wait_command, "some command")) end end
Version data entries
9 entries across 9 versions & 1 rubygems