[#261 state:awaiting-patch]
added a test that shows that selenium can't click a link with text that has parens in it
This commit is contained in:
parent
6bfdcc54cc
commit
f4141f787d
@ -1,4 +1,5 @@
|
||||
<h1>Webrat Links Page</h1>
|
||||
<a href="/links?value=LinkByText">LinkByText</a><br />
|
||||
<a href="/links?value=link_by_id" id="link_by_id">id</a><br />
|
||||
<a href="/links?value=LinkByTitle" title="LinkByTitle">title</a>
|
||||
<a href="/links?value=LinkByTitle" title="LinkByTitle">title</a><br />
|
||||
<a href="/links?value=link_with_parens">Link With (parens)</a><br />
|
||||
|
@ -18,4 +18,10 @@ class LinkClickTest < ActionController::IntegrationTest
|
||||
click_link "LinkByTitle"
|
||||
assert_contain("Link:LinkByTitle")
|
||||
end
|
||||
|
||||
test "should be able to click links with non letter characters" do
|
||||
visit links_path
|
||||
click_link "Link With (parens)"
|
||||
assert_contain("Link:link_with_parens")
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user