unittests/no_wait_test.rb in watir-3.0.0.rc2 vs unittests/no_wait_test.rb in watir-3.0.0.rc3
- old
+ new
@@ -16,13 +16,13 @@
assert_nothing_raised{
Watir::Wait.until {browser.text_field(:name, "text1").value == "watir IE Controller"}
}
end
- def test_set_no_wait_text_select_list
+ def test_select_no_wait_text_select_list
goto_page "selectboxes1.html"
- browser.select_list(:name,'sel1').set_no_wait(/Option 1/)
+ browser.select_list(:name,'sel1').select_no_wait(/Option 1/)
assert_nothing_raised{
- Watir::Wait.until {browser.select_list(:name , 'sel1').selected_options.first == 'Option 1'}
+ Watir::Wait.until {browser.select_list(:name , 'sel1').selected_options.first.text == 'Option 1'}
}
end
end