added click link test to selenium
This commit is contained in:
parent
2510e7d43d
commit
0aa5fda61d
@ -23,4 +23,10 @@ class WebratTest < ActionController::IntegrationTest
|
|||||||
visit external_redirect_path
|
visit external_redirect_path
|
||||||
assert response.redirect?
|
assert response.redirect?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "should click link by text" do
|
||||||
|
visit internal_redirect_path
|
||||||
|
click_link "Test Link Text"
|
||||||
|
assert_contain("Webrat Form")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user