diff --git a/docs/source/api/commands/_trigger.md b/docs/source/api/commands/_trigger.md index c0bb80d39c..5a13c06176 100644 --- a/docs/source/api/commands/_trigger.md +++ b/docs/source/api/commands/_trigger.md @@ -152,7 +152,7 @@ cy.get('button').trigger('mousemove', {clientX: 200, clientY: 300}) ***What event should I fire?*** -`cy.trigger` is meant to be a low-level utility that makes triggering events easier than manually constructing and dispatching them. Since any arbitrary event can be triggered, Cypress tries not to make any assumptions about how it should be triggered. This means you'll need to know the implementation details (which may be in a 3rd party library) of the event handler(s) receiving the event and provide the necessary properties. +`cy.trigger()` is meant to be a low-level utility that makes triggering events easier than manually constructing and dispatching them. Since any arbitrary event can be triggered, Cypress tries not to make any assumptions about how it should be triggered. This means you'll need to know the implementation details (which may be in a 3rd party library) of the event handler(s) receiving the event and provide the necessary properties. ## Differences diff --git a/docs/source/api/commands/exec.md b/docs/source/api/commands/exec.md index 573cd133a0..25991d797e 100644 --- a/docs/source/api/commands/exec.md +++ b/docs/source/api/commands/exec.md @@ -72,7 +72,7 @@ Option | Default | Description ## Command -`cy.exec` provides an escape hatch for running arbitrary system commands, so you can take actions necessary for your test outside the scope of Cypress. This is great for: +`cy.exec()` provides an escape hatch for running arbitrary system commands, so you can take actions necessary for your test outside the scope of Cypress. This is great for: - Running build scripts - Seeding your test database diff --git a/docs/source/api/commands/route.md b/docs/source/api/commands/route.md index d86f8accbc..1e666045d2 100644 --- a/docs/source/api/commands/route.md +++ b/docs/source/api/commands/route.md @@ -3,7 +3,7 @@ title: route comments: false --- -Use `cy.route` to manage the behavior of network requests. +Use `cy.route()` to manage the behavior of network requests. {% note info %} **Note:** `cy.route()` assumes you are already familiar with core concepts such as {% url 'network requests' network-requests %} diff --git a/docs/source/api/commands/visit.md b/docs/source/api/commands/visit.md index 855d216ca8..2991c992ee 100644 --- a/docs/source/api/commands/visit.md +++ b/docs/source/api/commands/visit.md @@ -81,7 +81,7 @@ cy.visit('http://localhost:3000/#dashboard', { ***Using onBeforeLoad*** {% note info %} -Check out our example recipes using `cy.visit`'s `onBeforeLoad` option to: +Check out our example recipes using `cy.visit()`'s `onBeforeLoad` option to: - {% url 'Bootstrap app data' working-with-the-backend %} - {% url 'Set a token to `localStorage` for login' logging-in %} - {% url 'Stub `window.fetch`' stubs-spies-and-clocks-recipe %}