Skip to content

Commit 2a36fb8

Browse files
committed
update basic test
1 parent 2e4de9a commit 2a36fb8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tests/basic/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# basic test
2+
3+
These tests run:
4+
- [ ] before the build
5+
- [x] after the build
6+
- [ ] on deploy success

tests/basic/netlify.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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 (testing)
11+
[plugins.inputs]
12+
enable = false
13+
14+
# run tests postBuild
15+
[plugins.inputs.postBuild]
16+
enable = true

0 commit comments

Comments
 (0)