Skip to content

Commit

Permalink
Remove already existing link
Browse files Browse the repository at this point in the history
The link to the type command already exist in the type section.
  • Loading branch information
wlsf82 committed Jan 16, 2024
1 parent df280cc commit 21088fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h2>
</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>
<p>You can use the <a href="https://on.cypress.io/type" target="_blank"><code>.type()</code></a> command to set the input's value.</p>
<p>You can use the <code>.type()</code> command to set the input's value.</p>
<p>Then, you can use the <code>.blur()</code></a> command to take the focus out of the element, for instace.</p>
<p>For example: <code>cy.get('input[type="date"]').type('2024-01-16').blur()</code>.</p>
<label for="date">Select a date</label>
Expand Down

0 comments on commit 21088fd

Please sign in to comment.