Skip to content

Commit b886321

Browse files
authored
fix: updated locators for rightclick() test on example page (#588)
1 parent d715063 commit b886321

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CodeFresh | [bahmutov/cypress-codefresh-example](https://github.com/bahmutov/cyp
5959

6060
### 1. Fork this repo
6161

62-
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.
62+
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.
6363

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

app/commands/actions.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ <h4 id="dblclick"><a href="https://on.cypress.io/dblclick">.dblclick()</a></h4>
284284
<h4 id="rightclick"><a href="https://on.cypress.io/rightclick">.rightclick()</a></h4>
285285
<p>To right click a DOM element, use the <a href="https://on.cypress.io/rightclick"><code>.rightclick()</code></a>
286286
command.</p>
287-
<pre><code class="javascript">cy.get('.action-div').rightclick().should('not.be.visible')
288-
cy.get('.action-input-hidden').should('be.visible')</code></pre>
287+
<pre><code class="javascript">cy.get('.rightclick-action-div').rightclick().should('not.be.visible')
288+
cy.get('.rightclick-action-input-hidden').should('be.visible')</code></pre>
289289
</div>
290290
<div class="col-xs-5">
291291
<div class="well">

0 commit comments

Comments
 (0)