Turn off netlify-plugin-cypress

This commit is contained in:
Linus Flood
2024-09-17 14:00:21 +02:00
parent 3e73b2f635
commit b8f37c810d

View File

@@ -8,15 +8,15 @@ command = "npm run lint && npm run build"
[context.deploy-preview]
command = "npm run lint && npm run build"
[[plugins]]
package = "netlify-plugin-cypress"
[plugins.inputs]
configFile = "cypress.config.ts"
[plugins.inputs.postBuild]
enable = true
start = "npm start"
wait-on = "http://127.0.0.1:3000/en/sponsoring"
wait-on-timeout = "30" # seconds
# [[plugins]]
# package = "netlify-plugin-cypress"
# [plugins.inputs]
# configFile = "cypress.config.ts"
# [plugins.inputs.postBuild]
# enable = true
# start = "npm start"
# wait-on = "http://127.0.0.1:3000/en/sponsoring"
# wait-on-timeout = "30" # seconds
[build.environment]
# cache Cypress binary in local "node_modules" folder