From df95b2aaee1c92ad9e7f3083624959c472c8a125 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Fri, 10 Jun 2022 14:15:23 -0600 Subject: [PATCH] chore: adding e2e sections in cy configs that don't have them --- examples/blogs__a11y/cypress.config.js | 4 +++- .../blogs__assertion-counting/cypress.config.js | 4 +++- examples/blogs__dayjs/cypress.config.js | 1 + examples/blogs__iframes/cypress.config.js | 1 + .../cypress.config.js | 1 + examples/file-upload-react/cypress.config.js | 4 +++- .../cypress.config.ts | 1 + .../cypress.config.js | 1 + examples/fundamentals__fixtures/cypress.config.js | 4 +++- .../fundamentals__module-api/cypress.config.js | 1 + .../fundamentals__node-modules/cypress.config.js | 1 + package-lock.json | 14 +++++++------- package.json | 2 +- 13 files changed, 27 insertions(+), 12 deletions(-) diff --git a/examples/blogs__a11y/cypress.config.js b/examples/blogs__a11y/cypress.config.js index 53cf629bf..1dd900e5f 100644 --- a/examples/blogs__a11y/cypress.config.js +++ b/examples/blogs__a11y/cypress.config.js @@ -1,3 +1,5 @@ const { defineConfig } = require('cypress') -module.exports = defineConfig({}) +module.exports = defineConfig({ + e2e: { }, +}) diff --git a/examples/blogs__assertion-counting/cypress.config.js b/examples/blogs__assertion-counting/cypress.config.js index 53cf629bf..1dd900e5f 100644 --- a/examples/blogs__assertion-counting/cypress.config.js +++ b/examples/blogs__assertion-counting/cypress.config.js @@ -1,3 +1,5 @@ const { defineConfig } = require('cypress') -module.exports = defineConfig({}) +module.exports = defineConfig({ + e2e: { }, +}) diff --git a/examples/blogs__dayjs/cypress.config.js b/examples/blogs__dayjs/cypress.config.js index 51db0a10a..fadc0df53 100644 --- a/examples/blogs__dayjs/cypress.config.js +++ b/examples/blogs__dayjs/cypress.config.js @@ -4,4 +4,5 @@ module.exports = defineConfig({ fixturesFolder: false, viewportWidth: 500, viewportHeight: 200, + e2e: {}, }) diff --git a/examples/blogs__iframes/cypress.config.js b/examples/blogs__iframes/cypress.config.js index 997a7b351..bf75d26fe 100644 --- a/examples/blogs__iframes/cypress.config.js +++ b/examples/blogs__iframes/cypress.config.js @@ -8,4 +8,5 @@ module.exports = defineConfig({ runMode: 2, openMode: 0, }, + e2e: {}, }) diff --git a/examples/extending-cypress__chai-assertions/cypress.config.js b/examples/extending-cypress__chai-assertions/cypress.config.js index 2709c41d1..e0517379b 100644 --- a/examples/extending-cypress__chai-assertions/cypress.config.js +++ b/examples/extending-cypress__chai-assertions/cypress.config.js @@ -2,4 +2,5 @@ const { defineConfig } = require('cypress') module.exports = defineConfig({ fixturesFolder: false, + e2e: {}, }) diff --git a/examples/file-upload-react/cypress.config.js b/examples/file-upload-react/cypress.config.js index 53cf629bf..f00d52602 100644 --- a/examples/file-upload-react/cypress.config.js +++ b/examples/file-upload-react/cypress.config.js @@ -1,3 +1,5 @@ const { defineConfig } = require('cypress') -module.exports = defineConfig({}) +module.exports = defineConfig({ + e2e: {}, +}) diff --git a/examples/fundamentals__add-custom-command-ts/cypress.config.ts b/examples/fundamentals__add-custom-command-ts/cypress.config.ts index cfb7562c4..baafee3a0 100644 --- a/examples/fundamentals__add-custom-command-ts/cypress.config.ts +++ b/examples/fundamentals__add-custom-command-ts/cypress.config.ts @@ -4,4 +4,5 @@ export default defineConfig({ viewportHeight: 200, viewportWidth: 300, fixturesFolder: false, + e2e: {}, }) diff --git a/examples/fundamentals__add-custom-command/cypress.config.js b/examples/fundamentals__add-custom-command/cypress.config.js index 2ce48aa4a..df040dd94 100644 --- a/examples/fundamentals__add-custom-command/cypress.config.js +++ b/examples/fundamentals__add-custom-command/cypress.config.js @@ -4,4 +4,5 @@ module.exports = defineConfig({ viewportHeight: 200, viewportWidth: 300, fixturesFolder: false, + e2e: {}, }) diff --git a/examples/fundamentals__fixtures/cypress.config.js b/examples/fundamentals__fixtures/cypress.config.js index 53cf629bf..f00d52602 100644 --- a/examples/fundamentals__fixtures/cypress.config.js +++ b/examples/fundamentals__fixtures/cypress.config.js @@ -1,3 +1,5 @@ const { defineConfig } = require('cypress') -module.exports = defineConfig({}) +module.exports = defineConfig({ + e2e: {}, +}) diff --git a/examples/fundamentals__module-api/cypress.config.js b/examples/fundamentals__module-api/cypress.config.js index 2709c41d1..e0517379b 100644 --- a/examples/fundamentals__module-api/cypress.config.js +++ b/examples/fundamentals__module-api/cypress.config.js @@ -2,4 +2,5 @@ const { defineConfig } = require('cypress') module.exports = defineConfig({ fixturesFolder: false, + e2e: {}, }) diff --git a/examples/fundamentals__node-modules/cypress.config.js b/examples/fundamentals__node-modules/cypress.config.js index 2709c41d1..e0517379b 100644 --- a/examples/fundamentals__node-modules/cypress.config.js +++ b/examples/fundamentals__node-modules/cypress.config.js @@ -2,4 +2,5 @@ const { defineConfig } = require('cypress') module.exports = defineConfig({ fixturesFolder: false, + e2e: {}, }) diff --git a/package-lock.json b/package-lock.json index 834bd71e0..42bf42176 100644 --- a/package-lock.json +++ b/package-lock.json @@ -89,7 +89,7 @@ "common-tags": "1.8.0", "console.table": "0.10.0", "cy-spok": "1.3.2", - "cypress": "10.0.2", + "cypress": "10.1.0", "cypress-axe": "0.12.2", "cypress-expect-n-assertions": "1.0.0", "cypress-failed-log": "2.9.1", @@ -9952,9 +9952,9 @@ "dev": true }, "node_modules/cypress": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.0.2.tgz", - "integrity": "sha512-7+C4KHYBcfZrawss+Gt5PlS35rfc6ySc59JcHDVsIMm1E/J35dqE41UEXpdtwIq3549umCerNWnFADzqib4kcA==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.1.0.tgz", + "integrity": "sha512-aQ4JVZVib4Xd9FZW8IRZfKelUvqF4y5A+oUbNvn8TlsBmEfIg3m5Xd6Mt6PVU/jHiVJ9Psl905B3ZPnrDcmyuQ==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -47311,9 +47311,9 @@ "dev": true }, "cypress": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.0.2.tgz", - "integrity": "sha512-7+C4KHYBcfZrawss+Gt5PlS35rfc6ySc59JcHDVsIMm1E/J35dqE41UEXpdtwIq3549umCerNWnFADzqib4kcA==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.1.0.tgz", + "integrity": "sha512-aQ4JVZVib4Xd9FZW8IRZfKelUvqF4y5A+oUbNvn8TlsBmEfIg3m5Xd6Mt6PVU/jHiVJ9Psl905B3ZPnrDcmyuQ==", "dev": true, "requires": { "@cypress/request": "^2.88.10", diff --git a/package.json b/package.json index 33617c97b..f69ec851f 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "common-tags": "1.8.0", "console.table": "0.10.0", "cy-spok": "1.3.2", - "cypress": "10.0.2", + "cypress": "10.1.0", "cypress-axe": "0.12.2", "cypress-expect-n-assertions": "1.0.0", "cypress-failed-log": "2.9.1",