From b962ab904202b74d0987aa7f01ce1f4e2f471169 Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:28:04 +0100 Subject: [PATCH 01/10] test: commented in search feat just to check if it is main respoisotory --- app/cypress/e2e/tutorsReader.cy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/cypress/e2e/tutorsReader.cy.ts b/app/cypress/e2e/tutorsReader.cy.ts index c25843148..37a31c199 100644 --- a/app/cypress/e2e/tutorsReader.cy.ts +++ b/app/cypress/e2e/tutorsReader.cy.ts @@ -47,9 +47,9 @@ describe("Tutors Reader: Loading the JSON fixture", function () { cy.processCompanionsAndWallsLinks(course); }); - // it("Testing search feature", function () { - // cy.partialSearchVerification(course.los); - // }); + it("Testing search feature", function () { + cy.partialSearchVerification(course.los); + }); it("Topics", function () { course.los.forEach((topic: any) => { From f3e4267c9b0b0b8be7fdd48b2fc07214fc613f97 Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:38:22 +0100 Subject: [PATCH 02/10] fix: commented out the search feat to check if test will run through --- app/cypress/e2e/tutorsReader.cy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/cypress/e2e/tutorsReader.cy.ts b/app/cypress/e2e/tutorsReader.cy.ts index 37a31c199..c25843148 100644 --- a/app/cypress/e2e/tutorsReader.cy.ts +++ b/app/cypress/e2e/tutorsReader.cy.ts @@ -47,9 +47,9 @@ describe("Tutors Reader: Loading the JSON fixture", function () { cy.processCompanionsAndWallsLinks(course); }); - it("Testing search feature", function () { - cy.partialSearchVerification(course.los); - }); + // it("Testing search feature", function () { + // cy.partialSearchVerification(course.los); + // }); it("Topics", function () { course.los.forEach((topic: any) => { From b6e9bcec5ecea1e9e4ac7564b7b70bd7c2e3fe19 Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:47:46 +0100 Subject: [PATCH 03/10] test added in timeout of 10 secs for where the test is failing in deep topics --- app/cypress/support/commands.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/cypress/support/commands.ts b/app/cypress/support/commands.ts index d503eb72a..7dc2e31d2 100644 --- a/app/cypress/support/commands.ts +++ b/app/cypress/support/commands.ts @@ -86,14 +86,14 @@ Cypress.Commands.add("triggerCardAction", (lo: any) => { const text = lo.title.trim(); cy.log(text); // Perform assertions that multiple elements exist - cy.findAllByText(text, { timeout: 10000 }).should('exist').each(elements => { + cy.findAllByText(text, { timeout: 10000 }).should('exist').each($elements => { // Check if at least one element is found - if (elements.length > 0) { - elements.each((i: any, el: any) => { - cy.log("element: ", el) + if ($elements.length > 0) { + $elements.each((i: any, el: any) => { + cy.log("element: "+ $el) // Element(s) found, perform actions on the first element - cy.get(elements[i]).should('exist').click( {force : true} ) + cy.get($el,{timeout:10000}).should('exist').click( {force : true} ) }); } else { cy.log(`Element with text "${text}" not found.`); From 1864885fc98083fa139a0519fcb4ab63bc6ee9c8 Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:53:58 +0100 Subject: [PATCH 04/10] fix: added in the $ as it is good practice to signal that it holds a jQuery object --- app/cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cypress/support/commands.ts b/app/cypress/support/commands.ts index 7dc2e31d2..6539d0893 100644 --- a/app/cypress/support/commands.ts +++ b/app/cypress/support/commands.ts @@ -90,7 +90,7 @@ Cypress.Commands.add("triggerCardAction", (lo: any) => { // Check if at least one element is found if ($elements.length > 0) { - $elements.each((i: any, el: any) => { + $elements.each((i: any, $el: any) => { cy.log("element: "+ $el) // Element(s) found, perform actions on the first element cy.get($el,{timeout:10000}).should('exist').click( {force : true} ) From e3cfe1398977b46e8c9528f3af094908ef737608 Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:28:04 +0100 Subject: [PATCH 05/10] test: commented in search feat just to check if it is main respoisotory --- app/cypress/e2e/tutorsReader.cy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/cypress/e2e/tutorsReader.cy.ts b/app/cypress/e2e/tutorsReader.cy.ts index eb6b9bbbe..a4b496761 100644 --- a/app/cypress/e2e/tutorsReader.cy.ts +++ b/app/cypress/e2e/tutorsReader.cy.ts @@ -44,9 +44,9 @@ describe("Tutors Reader: Loading the JSON fixture", function () { cy.processCompanionsAndWallsLinks(course); }); - // it("Testing search feature", function () { - // cy.partialSearchVerification(course.los); - // }); + it("Testing search feature", function () { + cy.partialSearchVerification(course.los); + }); it("Topics", function () { course.los.forEach((topic: any) => { From b12f182fd21ba7c4050cac138a072fb477b9cded Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:38:22 +0100 Subject: [PATCH 06/10] fix: commented out the search feat to check if test will run through --- app/cypress/e2e/tutorsReader.cy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/cypress/e2e/tutorsReader.cy.ts b/app/cypress/e2e/tutorsReader.cy.ts index a4b496761..eb6b9bbbe 100644 --- a/app/cypress/e2e/tutorsReader.cy.ts +++ b/app/cypress/e2e/tutorsReader.cy.ts @@ -44,9 +44,9 @@ describe("Tutors Reader: Loading the JSON fixture", function () { cy.processCompanionsAndWallsLinks(course); }); - it("Testing search feature", function () { - cy.partialSearchVerification(course.los); - }); + // it("Testing search feature", function () { + // cy.partialSearchVerification(course.los); + // }); it("Topics", function () { course.los.forEach((topic: any) => { From 6b5e0830f3308b0f46ff3c99c127ee8db3f11bc2 Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:47:46 +0100 Subject: [PATCH 07/10] test added in timeout of 10 secs for where the test is failing in deep topics --- app/cypress/support/commands.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/cypress/support/commands.ts b/app/cypress/support/commands.ts index d503eb72a..7dc2e31d2 100644 --- a/app/cypress/support/commands.ts +++ b/app/cypress/support/commands.ts @@ -86,14 +86,14 @@ Cypress.Commands.add("triggerCardAction", (lo: any) => { const text = lo.title.trim(); cy.log(text); // Perform assertions that multiple elements exist - cy.findAllByText(text, { timeout: 10000 }).should('exist').each(elements => { + cy.findAllByText(text, { timeout: 10000 }).should('exist').each($elements => { // Check if at least one element is found - if (elements.length > 0) { - elements.each((i: any, el: any) => { - cy.log("element: ", el) + if ($elements.length > 0) { + $elements.each((i: any, el: any) => { + cy.log("element: "+ $el) // Element(s) found, perform actions on the first element - cy.get(elements[i]).should('exist').click( {force : true} ) + cy.get($el,{timeout:10000}).should('exist').click( {force : true} ) }); } else { cy.log(`Element with text "${text}" not found.`); From 0fb6d3fc6b08df2ca543c76e0ffa4ffb14afe83b Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 15:53:58 +0100 Subject: [PATCH 08/10] fix: added in the $ as it is good practice to signal that it holds a jQuery object --- app/cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cypress/support/commands.ts b/app/cypress/support/commands.ts index 7dc2e31d2..6539d0893 100644 --- a/app/cypress/support/commands.ts +++ b/app/cypress/support/commands.ts @@ -90,7 +90,7 @@ Cypress.Commands.add("triggerCardAction", (lo: any) => { // Check if at least one element is found if ($elements.length > 0) { - $elements.each((i: any, el: any) => { + $elements.each((i: any, $el: any) => { cy.log("element: "+ $el) // Element(s) found, perform actions on the first element cy.get($el,{timeout:10000}).should('exist').click( {force : true} ) From 48a022f9e61ccb44d4e20922c782ecb36bfc3e61 Mon Sep 17 00:00:00 2001 From: 20041540MichaelKelly <20041540@mail.wit.ie> Date: Wed, 6 Sep 2023 21:53:31 +0100 Subject: [PATCH 09/10] fix: a fix for tutorsReader, altered the code to look for an element based on text by alternative code --- app/cypress/support/commands.ts | 17 ++++------------- app/package.json | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/app/cypress/support/commands.ts b/app/cypress/support/commands.ts index 6539d0893..d915f5dd2 100644 --- a/app/cypress/support/commands.ts +++ b/app/cypress/support/commands.ts @@ -85,19 +85,10 @@ Cypress.Commands.add("triggerCardAction", (lo: any) => { } else { const text = lo.title.trim(); cy.log(text); - // Perform assertions that multiple elements exist - cy.findAllByText(text, { timeout: 10000 }).should('exist').each($elements => { - - // Check if at least one element is found - if ($elements.length > 0) { - $elements.each((i: any, $el: any) => { - cy.log("element: "+ $el) - // Element(s) found, perform actions on the first element - cy.get($el,{timeout:10000}).should('exist').click( {force : true} ) - }); - } else { - cy.log(`Element with text "${text}" not found.`); - } + cy.findByText(text).then(($element) => { + // Perform actions on the found element if needed + cy.wrap($element).should('exist'); + cy.wrap($element).click( {force : true} ) }); cy.wait(500); } diff --git a/app/package.json b/app/package.json index 25d7b62ac..5f3fc27fb 100644 --- a/app/package.json +++ b/app/package.json @@ -5,7 +5,7 @@ "dev": "vite dev --port 3000 --open", "build": "vite build", "package": "vite package", - "preview": "vite preview", + "preview": "vite preview --port 3000 --open", "prepare": "svelte-kit sync", "check": "svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", From 7da83af35bb7e617d1cb03db53136745b20e79c4 Mon Sep 17 00:00:00 2001 From: Jordan Harrison <76656637+jouwdan@users.noreply.github.com> Date: Thu, 7 Sep 2023 08:48:12 +0100 Subject: [PATCH 10/10] feat: bump packages --- app/package.json | 6 +- package-lock.json | 290 +++++----------------------------------------- package.json | 3 + 3 files changed, 33 insertions(+), 266 deletions(-) diff --git a/app/package.json b/app/package.json index 5f3fc27fb..404c1ef3a 100644 --- a/app/package.json +++ b/app/package.json @@ -47,9 +47,9 @@ "buffer": "^6.0.3", "crypto-es": "^1.2.7", "cy-verify-downloads": "^0.1.15", - "cypress": "12.17.2", - "cypress-axe": "1.4.0", - "cypress-fail-fast": "7.0.1", + "cypress": "13.1.0", + "cypress-axe": "1.5.0", + "cypress-fail-fast": "7.0.3", "cypress-real-events": "1.9.1", "eslint-plugin-storybook": "0.6.13", "file-saver": "2.0.5", diff --git a/package-lock.json b/package-lock.json index cb1e7c7b1..cbf371ef8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,9 @@ "cli/*" ], "devDependencies": { + "cy-verify-downloads": "0.1.16", + "cypress": "13.1.0", + "cypress-fail-fast": "7.0.3", "eslint": "^8.30.0", "eslint-config-custom": "*", "prettier": "3.0.3", @@ -58,9 +61,9 @@ "buffer": "^6.0.3", "crypto-es": "^1.2.7", "cy-verify-downloads": "^0.1.15", - "cypress": "12.17.2", - "cypress-axe": "1.4.0", - "cypress-fail-fast": "7.0.1", + "cypress": "13.1.0", + "cypress-axe": "1.5.0", + "cypress-fail-fast": "7.0.3", "cypress-real-events": "1.9.1", "eslint-plugin-storybook": "0.6.13", "file-saver": "2.0.5", @@ -102,180 +105,6 @@ "integrity": "sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==", "dev": true }, - "app/node_modules/commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "app/node_modules/cypress": { - "version": "12.17.2", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-12.17.2.tgz", - "integrity": "sha512-hxWAaWbqQBzzMuadSGSuQg5PDvIGOovm6xm0hIfpCVcORsCAj/gF2p0EvfnJ4f+jK2PCiDgP6D2eeE9/FK4Mjg==", - "dev": true, - "hasInstallScript": true, - "dependencies": { - "@cypress/request": "^2.88.11", - "@cypress/xvfb": "^1.2.4", - "@types/node": "^14.14.31", - "@types/sinonjs__fake-timers": "8.1.1", - "@types/sizzle": "^2.3.2", - "arch": "^2.2.0", - "blob-util": "^2.0.2", - "bluebird": "^3.7.2", - "buffer": "^5.6.0", - "cachedir": "^2.3.0", - "chalk": "^4.1.0", - "check-more-types": "^2.24.0", - "cli-cursor": "^3.1.0", - "cli-table3": "~0.6.1", - "commander": "^6.2.1", - "common-tags": "^1.8.0", - "dayjs": "^1.10.4", - "debug": "^4.3.4", - "enquirer": "^2.3.6", - "eventemitter2": "6.4.7", - "execa": "4.1.0", - "executable": "^4.1.1", - "extract-zip": "2.0.1", - "figures": "^3.2.0", - "fs-extra": "^9.1.0", - "getos": "^3.2.1", - "is-ci": "^3.0.0", - "is-installed-globally": "~0.4.0", - "lazy-ass": "^1.6.0", - "listr2": "^3.8.3", - "lodash": "^4.17.21", - "log-symbols": "^4.0.0", - "minimist": "^1.2.8", - "ospath": "^1.2.2", - "pretty-bytes": "^5.6.0", - "proxy-from-env": "1.0.0", - "request-progress": "^3.0.0", - "semver": "^7.5.3", - "supports-color": "^8.1.1", - "tmp": "~0.2.1", - "untildify": "^4.0.0", - "yauzl": "^2.10.0" - }, - "bin": { - "cypress": "bin/cypress" - }, - "engines": { - "node": "^14.0.0 || ^16.0.0 || >=18.0.0" - } - }, - "app/node_modules/cypress-fail-fast": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cypress-fail-fast/-/cypress-fail-fast-7.0.1.tgz", - "integrity": "sha512-v68bfFTjPrn3+i+mEFmxC6Z2ble9+k8xIeEGeZJQS0HU8A9Q3oE1LEEv1SAqgyaYL06PKw4ifHw/aydO6rNFaw==", - "dev": true, - "dependencies": { - "chalk": "4.1.2" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "cypress": ">=8.0.0" - } - }, - "app/node_modules/cypress/node_modules/@types/node": { - "version": "14.18.58", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.58.tgz", - "integrity": "sha512-Y8ETZc8afYf6lQ/mVp096phIVsgD/GmDxtm3YaPcc+71jmi/J6zdwbwaUU4JvS56mq6aSfbpkcKhQ5WugrWFPw==", - "dev": true - }, - "app/node_modules/cypress/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "app/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "app/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "app/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "app/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "app/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "cli/tutors-gen-lib": { "version": "3.1.0", "license": "MIT", @@ -2559,73 +2388,6 @@ "node": ">=0.1.90" } }, - "node_modules/@cypress/request": { - "version": "2.88.12", - "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.12.tgz", - "integrity": "sha512-tOn+0mDZxASFM+cuAP9szGUGPI1HwWVSvdzm7V4cCsPdFTx6qMj29CwaQmRAMIEhORIUBFBsYROYJcveK4uOjA==", - "dev": true, - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "http-signature": "~1.3.6", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "performance-now": "^2.1.0", - "qs": "~6.10.3", - "safe-buffer": "^5.1.2", - "tough-cookie": "^4.1.3", - "tunnel-agent": "^0.6.0", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@cypress/request/node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/@cypress/request/node_modules/qs": { - "version": "6.10.4", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz", - "integrity": "sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g==", - "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/@cypress/request/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@cypress/xvfb": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", @@ -10259,7 +10021,6 @@ "integrity": "sha512-LUKxCYlB973QBFls1Up4FAE9QIYobT+2I8NvvAwMfQS2YwsWbr6yx7y9hmsk97iqbHkKwZW3MRjoK1RToBFVdQ==", "dev": true, "hasInstallScript": true, - "peer": true, "dependencies": { "@cypress/request": "^3.0.0", "@cypress/xvfb": "^1.2.4", @@ -10313,16 +10074,31 @@ } }, "node_modules/cypress-axe": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/cypress-axe/-/cypress-axe-1.4.0.tgz", - "integrity": "sha512-Ut7NKfzjyKm0BEbt2WxuKtLkIXmx6FD2j0RwdvO/Ykl7GmB/qRQkwbKLk3VP35+83hiIr8GKD04PDdrTK5BnyA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/cypress-axe/-/cypress-axe-1.5.0.tgz", + "integrity": "sha512-Hy/owCjfj+25KMsecvDgo4fC/781ccL+e8p+UUYoadGVM2ogZF9XIKbiM6KI8Y3cEaSreymdD6ZzccbI2bY0lQ==", "dev": true, "engines": { "node": ">=10" }, "peerDependencies": { "axe-core": "^3 || ^4", - "cypress": "^10 || ^11 || ^12" + "cypress": "^10 || ^11 || ^12 || ^13" + } + }, + "node_modules/cypress-fail-fast": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cypress-fail-fast/-/cypress-fail-fast-7.0.3.tgz", + "integrity": "sha512-IYVDZ+ykfTd2DFBK3N6NnWXc2gix7VwSi9Vg4zv40jm6PLknZTD4cZoRmh7uvpoQAIKNIFbx5V81qQD5pLHLSQ==", + "dev": true, + "dependencies": { + "chalk": "4.1.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "cypress": ">=8.0.0" } }, "node_modules/cypress-real-events": { @@ -10342,7 +10118,6 @@ "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.1.tgz", "integrity": "sha512-TWivJlJi8ZDx2wGOw1dbLuHJKUYX7bWySw377nlnGOW3hP9/MUKIsEdXT/YngWxVdgNCHRBmFlBipE+5/2ZZlQ==", "dev": true, - "peer": true, "dependencies": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", @@ -10371,8 +10146,7 @@ "version": "16.18.48", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.48.tgz", "integrity": "sha512-mlaecDKQ7rIZrYD7iiKNdzFb6e/qD5I9U1rAhq+Fd+DWvYVs+G2kv74UFHmSOlg5+i/vF3XxuR522V4u8BqO+Q==", - "dev": true, - "peer": true + "dev": true }, "node_modules/cypress/node_modules/buffer": { "version": "5.7.1", @@ -10393,7 +10167,6 @@ "url": "https://feross.org/support" } ], - "peer": true, "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" @@ -10404,7 +10177,6 @@ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", "dev": true, - "peer": true, "engines": { "node": ">= 6" } @@ -10414,7 +10186,6 @@ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, - "peer": true, "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", @@ -10429,7 +10200,6 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, - "peer": true, "dependencies": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", @@ -10445,7 +10215,6 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, - "peer": true, "dependencies": { "yallist": "^4.0.0" }, @@ -10458,7 +10227,6 @@ "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.4.tgz", "integrity": "sha512-OQiU+C+Ds5qiH91qh/mg0w+8nwQuLjM4F4M/PbmhDOoYehPh+Fb0bDjtR1sOvy7YKxvj28Y/M0PhP5uVX0kB+g==", "dev": true, - "peer": true, "dependencies": { "side-channel": "^1.0.4" }, @@ -10474,7 +10242,6 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, - "peer": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -10490,7 +10257,6 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, - "peer": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -10506,7 +10272,6 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, - "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -10515,8 +10280,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "peer": true + "dev": true }, "node_modules/d": { "version": "1.0.1", diff --git a/package.json b/package.json index 631061cf8..d92f3757f 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ "format": "prettier --write ." }, "devDependencies": { + "cy-verify-downloads": "0.1.16", + "cypress": "13.1.0", + "cypress-fail-fast": "7.0.3", "eslint": "^8.30.0", "eslint-config-custom": "*", "prettier": "3.0.3",