unittests/bug_fixes_test.rb in firewatir-1.6.6 vs unittests/bug_fixes_test.rb in firewatir-1.6.7.rc1
- old
+ new
@@ -101,9 +101,14 @@
assert(browser.contains_text(/PAS/))
assert(browser.contains_text(/pass/i))
assert_false(browser.contains_text(/pass/))
end
+ def test_attribute_name_fails_with_hyphen
+ goto_page("div.html")
+ assert("attribute2", browser.div(:id, "div1").attribute("data-html5-attribute"))
+ end
+
tag_method :test_frame_bug_21, :fails_on_ie
def test_frame_bug_21
goto_page("frame_buttons.html")
frame1 = browser.frame(:name, "buttonFrame")
frame2 = browser.frame(:name, "buttonFrame2")