diff --git a/cypress/config/ci.json b/cypress/config/ci.json index 0d0b4bea1d..edc4eaeb7f 100644 --- a/cypress/config/ci.json +++ b/cypress/config/ci.json @@ -4,5 +4,6 @@ "pluginsFile": "../../cypress/plugins", "screenshotsFolder": "../../cypress/screenshots", "supportFile": "../../cypress/support/index.js", - "videoFolder": "../../cypress/videos" + "videoFolder": "../../cypress/videos", + "projectId": "66va58" } \ No newline at end of file diff --git a/cypress/config/nx-demo.json b/cypress/config/nx-demo.json index 75847afd63..b72b2ca9b2 100644 --- a/cypress/config/nx-demo.json +++ b/cypress/config/nx-demo.json @@ -4,5 +4,6 @@ "pluginsFile": "../../cypress/plugins", "screenshotsFolder": "../../cypress/screenshots", "supportFile": "../../cypress/support/index.js", - "videoFolder": "../../cypress/videos" + "videoFolder": "../../cypress/videos", + "projectId": "ijcdpo" } \ No newline at end of file diff --git a/cypress/config/static-root.json b/cypress/config/static-root.json index b0d00721b7..b9cc14fcf1 100644 --- a/cypress/config/static-root.json +++ b/cypress/config/static-root.json @@ -4,5 +4,6 @@ "pluginsFile": "../../cypress/plugins", "screenshotsFolder": "../../cypress/screenshots", "supportFile": "../../cypress/support/index.js", - "videoFolder": "../../cypress/videos" + "videoFolder": "../../cypress/videos", + "projectId": "3tvrbe" } diff --git a/demos/default/netlify.toml b/demos/default/netlify.toml index 3a9af14c13..a7dd21caec 100644 --- a/demos/default/netlify.toml +++ b/demos/default/netlify.toml @@ -7,6 +7,8 @@ publish = ".next" # cache Cypress binary in local "node_modules" folder # so Netlify caches it CYPRESS_CACHE_FOLDER = "../node_modules/.CypressBinary" +# set TERM variable for terminal output +TERM = "xterm" [dev] framework = "#static" @@ -21,4 +23,5 @@ package = "@netlify/plugin-local-install-core" package = "netlify-plugin-cypress" [context.deploy-preview.plugins.inputs] +record = true configFile = "../../cypress/config/ci.json" diff --git a/demos/nx-next-monorepo-demo/netlify.toml b/demos/nx-next-monorepo-demo/netlify.toml index 7d44f54f81..a7561d3621 100644 --- a/demos/nx-next-monorepo-demo/netlify.toml +++ b/demos/nx-next-monorepo-demo/netlify.toml @@ -14,6 +14,8 @@ package = "./local-plugin" # cache Cypress binary in local "node_modules" folder # so Netlify caches it CYPRESS_CACHE_FOLDER = "../node_modules/.CypressBinary" +# set TERM variable for terminal output +TERM = "xterm" [[plugins]] package = "@netlify/plugin-local-install-core" @@ -22,4 +24,5 @@ package = "@netlify/plugin-local-install-core" package = "netlify-plugin-cypress" [context.deploy-preview.plugins.inputs] +record = true configFile = "../../cypress/config/nx-demo.json" diff --git a/demos/static-root/netlify.toml b/demos/static-root/netlify.toml index 6aae4505eb..1d4fe8e19a 100644 --- a/demos/static-root/netlify.toml +++ b/demos/static-root/netlify.toml @@ -21,4 +21,5 @@ package = "@netlify/plugin-local-install-core" package = "netlify-plugin-cypress" [context.deploy-preview.plugins.inputs] +record = true configFile = "../../cypress/config/static-root.json" diff --git a/package.json b/package.json index 34ce32ec48..93d41d0d87 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "scripts": { "build:demo": "next build demos/default", "cy:open": "cypress open --config-file cypress/config/all.json", - "cy:run": "cypress run --config-file ../../cypress/config/ci.json", "dev:demo": "next dev demos/default", "format": "run-s format:check-fix:*", "format:ci": "run-s format:check:*",