unittests/element_test.rb in watir-3.0.0.rc2 vs unittests/element_test.rb in watir-3.0.0.rc3
- old
+ new
@@ -19,10 +19,10 @@
end
def test_element_iterator
assert_equal 3, browser.elements(:class, 'blueText').length
assert_equal 3, browser.elements(:class, 'blueText').size
- assert_equal("span2", browser.elements(:class, 'blueText')[2].id)
+ assert_equal("number3", browser.elements(:class, 'blueText')[2].id)
index = 0
browser.elements(:id, /div/).each do |s|
assert_equal(browser.div(:index,index).name, s.name)
assert_equal(browser.div(:index,index).id, s.id)