1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/lib/capybara/spec/views/with_html.erb

62 lines
2.5 KiB
Text
Raw Normal View History

2009-11-04 18:34:11 -05:00
<h1>This is a test</h1>
<h2 class="no text"></h2>
<h2 class="no text"></h2>
<h2 class="head" id="h2one">Header Class Test One</h2>
<h2 class="head" id="h2two">Header Class Test Two</h2>
<h2 class="head">Header Class Test Three</h2>
<h2 class="head">Header Class Test Four</h2>
<h2 class="head">Header Class Test Five</h2>
<p class="para" id="first">
2009-11-04 18:34:11 -05:00
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
2009-11-07 09:36:58 -05:00
tempor incididunt ut <a href="/with_simple_html" title="awesome title" class="simple">labore</a>
2009-11-04 18:34:11 -05:00
et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation <a href="/foo" id="foo">ullamco</a> laboris nisi
ut aliquip ex ea commodo consequat.
<a href="/with_simple_html"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="awesome image" /></a>
2009-11-04 18:34:11 -05:00
</p>
<p class="para" id="second">
2009-11-04 18:34:11 -05:00
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat <a href="/redirect" id="red">Redirect</a> pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia
text with
whitespace
id est laborum.
2009-11-07 09:36:58 -05:00
</p>
2009-11-07 18:28:32 -05:00
<p>
<input type="text" id="test_field" value="monkey"/>
<textarea>banana</textarea>
2010-02-12 08:41:41 -05:00
<a href="/redirect_back">BackToMyself</a>
<a title="twas a fine link" href="/redirect">A link came first</a>
<a title="a fine link" href="/with_simple_html">A link</a>
<a title="a fine link with data method" data-method="delete" href="/delete">A link with data-method</a>
<a>No Href</a>
<a href="">Blank Href</a>
<a href="#">Blank Anchor</a>
<a href="#anchor">Anchor</a>
<a href="/with_simple_html#anchor">Anchor on different page</a>
<a href="/with_html#anchor">Anchor on same page</a>
<input type="text" value="" id="test_field">
2010-01-30 14:43:56 -05:00
<input type="text" checked="checked" id="checked_field">
<a href="/redirect"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="very fine image" /></a>
<a href="/with_simple_html"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="fine image" /></a>
2010-10-22 10:45:33 -04:00
<a href="?query_string=true">Naked Query String</a>
<% if params[:query_string] %>
<em>Query String sent</em>
<% end %>
2009-11-07 18:28:32 -05:00
</p>
2009-12-22 15:13:55 -05:00
2010-01-30 13:52:07 -05:00
<div id="hidden" style="display: none;">
2009-12-25 12:50:01 -05:00
<div id="hidden_via_ancestor">Inside element with hidden ancestor</div>
<a href="/with_simple_html" title="awesome title" class="simple">hidden link</a>
</div>
2010-08-17 21:22:54 -04:00
<ul>
<li id="john_monkey">Monkey John</li>
<li id="paul_monkey">Monkey Paul</li>
</ul>