add test for click_link with id to selenium
This commit is contained in:
parent
0aa5fda61d
commit
2d065e8a2d
|
@ -29,4 +29,10 @@ class WebratTest < ActionController::IntegrationTest
|
||||||
click_link "Test Link Text"
|
click_link "Test Link Text"
|
||||||
assert_contain("Webrat Form")
|
assert_contain("Webrat Form")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "should click link by id" do
|
||||||
|
visit internal_redirect_path
|
||||||
|
click_link "link_id"
|
||||||
|
assert_contain("Webrat Form")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue