Skip to content

Commit

Permalink
Small heading adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsf82 committed Jan 19, 2024
1 parent e72c362 commit efc4971
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,7 @@ <h2>
</div>
<div id="input-range" class="section">
<h2>
<pre>.invoke()</pre>
<span>and</span>
<pre>.trigger()</pre>
<pre>.invoke().trigger()</pre>
</h2>
<p>Another element you might have to interact with when testing web apps is the input of type range.</p>
<p>To deal with such an element, you can combine two Cypress features.</p>
Expand All @@ -187,7 +185,7 @@ <h2>
</div>
<div id="input-date" class="section">
<h2>
<pre>.type('yyyy-mm-dd')</pre>
<pre>.type('yyyy-mm-dd').blur()</pre>
</h2>
<p>Another element you might have to interact with when testing web apps is the input of type date.</p>
<p>To deal with such an element, you can combine two Cypress features.</p>
Expand Down Expand Up @@ -224,7 +222,7 @@ <h2>
</div>
<div id="should-have-length" class="section">
<h2>
<pre>.should('have.length')</pre>
<pre>.should('have.length', n)</pre>
</h2>
<p>One common challenge when testing web applications is to assert on the number of specific elements.</p>
<p>Imagine you have a unordered list, and you want to assert that it has a specific number of list items.</p>
Expand Down

0 comments on commit efc4971

Please sign in to comment.