Skip to content

Commit facb0e8

Browse files
committed
update recording test
1 parent 30cfd62 commit facb0e8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tests/recording/README.md

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

tests/recording/netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ TERM = "xterm"
1313
# local Cypress plugin will test our site after it is built
1414
# in production, please use: package = "netlify-plugin-cypress"
1515
package = "../../"
16+
17+
# do not run tests after deploy
1618
[plugins.inputs]
19+
enable = false
20+
21+
# run and record tests post build
22+
[plugins.inputs.postBuild]
1723
record = true
1824
group = "test once after build"
1925
tag = "recommended"

0 commit comments

Comments
 (0)