lib/capybara/spec/views/with_html.erb in capybara-2.7.1 vs lib/capybara/spec/views/with_html.erb in capybara-2.8.0
- old
+ new
@@ -17,11 +17,11 @@
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut <a href="/with_simple_html" title="awesome title" class="simple">labore</a>
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 width="20" height="20" alt="awesome image" /></a>
+ <a href="/with_simple_html" aria-label="Go to simple"><img width="20" height="20" alt="awesome image" /></a>
</p>
<p class="para" id="second">
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,
@@ -75,9 +75,13 @@
</div>
<div id="hidden-text">
Some of this text is <em style="display:none">hidden!</em>
+</div>
+
+<div id="some-hidden-text">
+ Some of this text is not hidden <em style="display:none">and some is hidden</em>
</div>
<div style="display: none;">
<a id="first_invisble" class="hidden">first hidden link</a>
</div>