From c3c60e818a2d34e684926bc22ac9ce7f4f643d63 Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Wed, 2 Dec 2020 16:37:38 -0500 Subject: [PATCH] fix: missing or incorrect links (#467) --- app/commands/network-requests.html | 4 ++-- cypress/integration/examples/actions.spec.js | 2 +- cypress/integration/examples/network_requests.spec.js | 2 +- cypress/integration/examples/traversal.spec.js | 4 ++-- shippable.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/commands/network-requests.html b/app/commands/network-requests.html index 598e3d684..f8b0f7949 100644 --- a/app/commands/network-requests.html +++ b/app/commands/network-requests.html @@ -142,8 +142,8 @@

cy.request()


-

cy.intercept()

-

To route responses to matching requests, use the cy.intercept() command.

+

cy.intercept()

+

To route responses to matching requests, use the cy.intercept() command.

    let message = 'whoa, this comment does not exist'
 
 // Listen to GET to comments/1
diff --git a/cypress/integration/examples/actions.spec.js b/cypress/integration/examples/actions.spec.js
index bc2914e8e..d9fe5e52f 100644
--- a/cypress/integration/examples/actions.spec.js
+++ b/cypress/integration/examples/actions.spec.js
@@ -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:
     //  -----------------------------------
diff --git a/cypress/integration/examples/network_requests.spec.js b/cypress/integration/examples/network_requests.spec.js
index d7197ad54..f3bb291f3 100644
--- a/cypress/integration/examples/network_requests.spec.js
+++ b/cypress/integration/examples/network_requests.spec.js
@@ -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'
 
diff --git a/cypress/integration/examples/traversal.spec.js b/cypress/integration/examples/traversal.spec.js
index 3e051dae0..ad4b5467e 100644
--- a/cypress/integration/examples/traversal.spec.js
+++ b/cypress/integration/examples/traversal.spec.js
@@ -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)
   })
diff --git a/shippable.yml b/shippable.yml
index f887631bd..e07fb0b1a 100644
--- a/shippable.yml
+++ b/shippable.yml
@@ -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/