You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,18 @@
3
3
4
4
**Note:** currently the built site is served statically and tested _without proxying redirects_.
5
5
6
+
## Install and use
7
+
8
+
*note:* this plugin assumes you have already installed Cypress as a dev NPM dependency.
9
+
10
+
```shell
11
+
npm install --save-dev netlify-plugin-cypress
12
+
# or
13
+
yarn add -D netlify-plugin-cypress
14
+
```
15
+
16
+
And then add the plugin's name to the list of build plugins in `netlify.yml` file as shown in the examples below.
17
+
6
18
## Examples
7
19
8
20
### basic
@@ -75,7 +87,7 @@ Set environment variable `DEBUG=netlify-plugin-cypress` to see the debug logs. T
75
87
76
88
<details>
77
89
<summary>Cypress binary is missing</summary>
78
-
If you see error messages from `cypress` NPM module <code>Error: The cypress npm package is installed, but the Cypress binary is missing.</code> add to your repository <code>package.json</code> scripts <code>"postinstall": "cypress install"</code> command.
90
+
If you see error messages from `cypress` NPM module <code>Error: The cypress npm package is installed, but the Cypress binary is missing.</code> add to your repository <code>package.json</code> scripts <code>"postinstall": "cypress install"</code> command. See <a href="https://github.com/cypress-io/netlify-plugin-cypress-example/blob/master/package.json">netlify-plugin-cypress-example</a> for instance.
0 commit comments