File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,8 @@ Test locally with
99```
1010$ DEBUG=netlify-plugin-cypress ../../node_modules/.bin/netlify build
1111```
12+
13+ These tests run:
14+ - [ ] before the build
15+ - [x] after the build
16+ - [ ] on deploy success
Original file line number Diff line number Diff line change @@ -6,3 +6,11 @@ publish = "public"
66 # local Cypress plugin will test our site after it is built
77 # in production, please use: package = "netlify-plugin-cypress"
88 package = " ../../"
9+
10+ # do not run tests after deploy
11+ [plugins .inputs ]
12+ enable = false
13+
14+ # run and record tests post build
15+ [plugins .inputs .postBuild ]
16+ enable = true
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ TERM = "xterm"
2020
2121 # run and record tests post build
2222 [plugins .inputs .postBuild ]
23+ enable = true
2324 record = true
2425 group = " test once after build"
2526 tag = " recommended"
You can’t perform that action at this time.
0 commit comments