Skip to content

Commit

Permalink
fix: missing or incorrect links (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov authored Dec 2, 2020
1 parent b72e66f commit c3c60e8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/commands/network-requests.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ <h4 id="request"><a href="https://on.cypress.io/request">cy.request()</a></h4>
<div class="col-xs-12"><hr></div>

<div class="col-xs-7">
<h4 id="http"><a href="https://on.cypress.io/http">cy.intercept()</a></h4>
<p>To route responses to matching requests, use the <a href="https://on.cypress.io/http"><code>cy.intercept()</code></a> command.</p>
<h4 id="http"><a href="https://on.cypress.io/intercept">cy.intercept()</a></h4>
<p>To route responses to matching requests, use the <a href="https://on.cypress.io/intercept"><code>cy.intercept()</code></a> command.</p>
<pre><code class="javascript"> let message = 'whoa, this comment does not exist'

// Listen to GET to comments/1
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/actions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ context('Actions', () => {
})

it('cy.scrollTo() - scroll the window or element to a position', () => {
// https://on.cypress.io/scrollTo
// https://on.cypress.io/scrollto

// You can scroll to 9 specific positions of an element:
// -----------------------------------
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/network_requests.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ context('Network Requests', () => {
})

it('cy.intercept() - route responses to matching requests', () => {
// https://on.cypress.io/http
// https://on.cypress.io/intercept

let message = 'whoa, this comment does not exist'

Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/examples/traversal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ context('Traversal', () => {
})

it('.prevAll() - get all previous sibling DOM elements', () => {
// https://on.cypress.io/prevAll
// https://on.cypress.io/prevall
cy.get('.fruits-list').find('.third')
.prevAll().should('have.length', 2)
})

it('.prevUntil() - get all previous sibling DOM elements until el', () => {
// https://on.cypress.io/prevUntil
// https://on.cypress.io/prevuntil
cy.get('.foods-list').find('#nuts')
.prevUntil('#veggies').should('have.length', 3)
})
Expand Down
2 changes: 1 addition & 1 deletion shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# http://docs.shippable.com/platform/workflow/config/

# set environment variable CYPRESS_RECORD_KEY to allow recording test artifacts
# on Cypress dashboard https://on.cypress.io/dashboard-service
# on Cypress dashboard https://on.cypress.io/dashboard-introduction
env:
# the record key should be secret, thus it is encrypted
# http://docs.shippable.com/ci/env-vars/
Expand Down

0 comments on commit c3c60e8

Please sign in to comment.