Sha256: cd88a30a4ff84f7890bbcd2adb79cfd65bb4dd5c6c4ccf6533f8a42797935891
Contents?: true
Size: 707 Bytes
Versions: 31
Compression:
Stored size: 707 Bytes
Contents
# tests of click_no_wait for links in frames $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..') unless $SETUP_LOADED require 'unittests/setup' class TC_Frame_Links < Test::Unit::TestCase def setup goto_page "frame_links.html" end def test_click_in_a_frame browser.frame('linkFrame').link(:text, 'test1').click assert(browser.frame('linkFrame').text.include?('Links2-Pass')) end def test_click_no_wait_in_a_frame browser.frame('linkFrame').link(:text, 'test1').click_no_wait Wait.until(10){browser.frame('linkFrame').text.include?('Links2-Pass')} assert(browser.frame('linkFrame').text.include?('Links2-Pass')) end end
Version data entries
31 entries across 31 versions & 1 rubygems