Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
name is not a valid attribute for link;
Browse files Browse the repository at this point in the history
IE#cell method doesn't exist anymore
  • Loading branch information
jarmo committed Mar 12, 2012
1 parent d592645 commit 2a64515
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions watir/unittests/css_selector_test.rb
Expand Up @@ -37,13 +37,8 @@ def test_image
assert_equal( "circle", browser.image(:css, "*[id ^= 'circ']").id )
end

def test_link
goto_page "links1.html"
assert_equal( "link_name", browser.link(:css, "*[name *= ink_nam]").name )
end

def test_table
goto_page "table1.html"
assert_equal( "Header", browser.cell(:css , ".sample th").text )
assert_equal( "Header", browser.th(:css , ".sample th").text )
end
end

0 comments on commit 2a64515

Please sign in to comment.