docs: missing parenths

This commit is contained in:
Brian Mann
2017-07-02 20:31:44 -04:00
parent 5df423c601
commit b31b3d99c2
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 %}
+1 -1
View File
@@ -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 %}