From 9144101bbb8738cf48c4b4ebf8ff8ea3c638b7e8 Mon Sep 17 00:00:00 2001 From: Elise Beall Date: Sun, 6 Feb 2022 23:50:38 -0700 Subject: [PATCH 1/4] Ignore cy videos, update start script --- .gitignore | 1 + package-lock.json | 12 ++++++------ package.json | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 4d29575..eabfa55 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ # testing /coverage +/cypress/videos # production /build diff --git a/package-lock.json b/package-lock.json index 0fdc488..4006260 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5098,9 +5098,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001299", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001299.tgz", - "integrity": "sha512-iujN4+x7QzqA2NCSrS5VUy+4gLmRd4xv6vbBBsmfVqTx8bLAD8097euLqQgKxSVLvxjSDcvF1T/i9ocgnUFexw==", + "version": "1.0.30001309", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001309.tgz", + "integrity": "sha512-Pl8vfigmBXXq+/yUz1jUwULeq9xhMJznzdc/xwl4WclDAuebcTHVefpz8lE/bMI+UN7TOkSSe7B7RnZd6+dzjA==", "funding": { "type": "opencollective", "url": "https://opencollective.com/browserslist" @@ -20964,9 +20964,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001299", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001299.tgz", - "integrity": "sha512-iujN4+x7QzqA2NCSrS5VUy+4gLmRd4xv6vbBBsmfVqTx8bLAD8097euLqQgKxSVLvxjSDcvF1T/i9ocgnUFexw==" + "version": "1.0.30001309", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001309.tgz", + "integrity": "sha512-Pl8vfigmBXXq+/yUz1jUwULeq9xhMJznzdc/xwl4WclDAuebcTHVefpz8lE/bMI+UN7TOkSSe7B7RnZd6+dzjA==" }, "case-sensitive-paths-webpack-plugin": { "version": "2.4.0", diff --git a/package.json b/package.json index b1041cd..5afc856 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "web-vitals": "^2.1.3" }, "scripts": { - "start": "react-scripts start", + "start": "react-scripts --openssl-legacy-provider start", "build": "react-scripts build", "test": "start-server-and-test start http://localhost:3000 cy:run", "cy:run": "cypress run", From 8d5530ce996972c944cec6cb0b551decd573cb70 Mon Sep 17 00:00:00 2001 From: Elise Beall Date: Sun, 20 Feb 2022 22:17:52 -0700 Subject: [PATCH 2/4] Adjust plugins file --- cypress/plugins/index.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 59b2bab..ea02f85 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -19,4 +19,5 @@ module.exports = (on, config) => { // `on` is used to hook into various events Cypress emits // `config` is the resolved Cypress config + return config } diff --git a/package.json b/package.json index 5afc856..b1041cd 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "web-vitals": "^2.1.3" }, "scripts": { - "start": "react-scripts --openssl-legacy-provider start", + "start": "react-scripts start", "build": "react-scripts build", "test": "start-server-and-test start http://localhost:3000 cy:run", "cy:run": "cypress run", From 54bc930bdc1c108153074ae827144c0731509857 Mon Sep 17 00:00:00 2001 From: Elise Beall Date: Sun, 20 Feb 2022 22:28:37 -0700 Subject: [PATCH 3/4] Update package-lock.json to use older version of node --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 4006260..d7c66a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@testing-library/jest-dom": "^5.16.1", "@testing-library/react": "^12.1.2", "@testing-library/user-event": "^13.5.0", - "node": "^17.3.1", + "node": "^16.13.0", "prop-types": "^15.8.1", "react": "^17.0.2", "react-dom": "^17.0.2", From 7c12a5685e11b54faa6c2f121dafe546fbbb3a1c Mon Sep 17 00:00:00 2001 From: Elise Beall Date: Sun, 20 Feb 2022 22:32:36 -0700 Subject: [PATCH 4/4] Comment out entire plugins file --- cypress/plugins/index.js | 42 ++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index ea02f85..7933573 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -1,23 +1,23 @@ -/// -// *********************************************************** -// This example plugins/index.js can be used to load plugins +// /// +// // *********************************************************** +// // This example plugins/index.js can be used to load plugins +// // +// // You can change the location of this file or turn off loading +// // the plugins file with the 'pluginsFile' configuration option. +// // +// // You can read more here: +// // https://on.cypress.io/plugins-guide +// // *********************************************************** // -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. +// // This function is called when a project is opened or re-opened (e.g. due to +// // the project's config changing) // -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config - return config -} +// /** +// * @type {Cypress.PluginConfig} +// */ +// // eslint-disable-next-line no-unused-vars +// module.exports = (on, config) => { +// // `on` is used to hook into various events Cypress emits +// // `config` is the resolved Cypress config +// return config +// }