Skip to content

Commit

Permalink
fix: updated locators for rightclick() test on example page (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
DionisIno authored Feb 15, 2023
1 parent d715063 commit b886321
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CodeFresh | [bahmutov/cypress-codefresh-example](https://github.com/bahmutov/cyp

### 1. Fork this repo

If you want to experiment with running this project in Continous Integration, you'll need to [fork](https://github.com/cypress-io/cypress-example-kitchensink#fork-destination-box) it first.
If you want to experiment with running this project in Continuous Integration, you'll need to [fork](https://github.com/cypress-io/cypress-example-kitchensink#fork-destination-box) it first.

After forking this project in `Github`, run these commands:

Expand Down
4 changes: 2 additions & 2 deletions app/commands/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ <h4 id="dblclick"><a href="https://on.cypress.io/dblclick">.dblclick()</a></h4>
<h4 id="rightclick"><a href="https://on.cypress.io/rightclick">.rightclick()</a></h4>
<p>To right click a DOM element, use the <a href="https://on.cypress.io/rightclick"><code>.rightclick()</code></a>
command.</p>
<pre><code class="javascript">cy.get('.action-div').rightclick().should('not.be.visible')
cy.get('.action-input-hidden').should('be.visible')</code></pre>
<pre><code class="javascript">cy.get('.rightclick-action-div').rightclick().should('not.be.visible')
cy.get('.rightclick-action-input-hidden').should('be.visible')</code></pre>
</div>
<div class="col-xs-5">
<div class="well">
Expand Down

0 comments on commit b886321

Please sign in to comment.