From 4ed75371e4f1667d7293f783b5493a2faf6b9080 Mon Sep 17 00:00:00 2001 From: karla-vm Date: Wed, 26 Jul 2023 15:46:34 -0400 Subject: [PATCH 1/3] let's see hereeeeee --- tests/cypress/cypress.config.js | 23 ++++++ tests/cypress/cypress.json | 18 ----- tests/cypress/package.json | 2 +- tests/cypress/support/commands.js | 15 ++-- tests/cypress/support/index.js | 33 ++------- tests/cypress/support/pages/Homepage.js | 21 +++--- tests/cypress/support/pages/LoginPage.js | 22 +++--- .../tests/integration/filterReports.spec.js | 2 +- tests/cypress/tests/integration/login.spec.js | 2 +- .../integration/submitAndUncertify.spec.js | 2 +- tests/cypress/yarn.lock | 71 ++++++++++--------- 11 files changed, 99 insertions(+), 112 deletions(-) create mode 100644 tests/cypress/cypress.config.js delete mode 100644 tests/cypress/cypress.json diff --git a/tests/cypress/cypress.config.js b/tests/cypress/cypress.config.js new file mode 100644 index 000000000..ef339675a --- /dev/null +++ b/tests/cypress/cypress.config.js @@ -0,0 +1,23 @@ +const { defineConfig } = require("cypress"); + +module.exports = defineConfig({ + experimentalStudio: true, + redirectionLimit: 20, + retries: 2, + watchForFileChanges: true, + fixturesFolder: "fixtures", + screenshotsFolder: "screenshots", + videosFolder: "videos", + downloadsFolder: "downloads", + defaultCommandTimeout: 20000, + types: ["cypress", "cypress-axe"], + e2e: { + setupNodeEvents(on, config) { + return require("./plugins/index.js")(on, config); + }, + baseUrl: "http://localhost:3000/", + specPattern: ["tests/**/*.feature", "tests/**/*.spec.js"], + excludeSpecPattern: "filterReports.spec.js", + supportFile: "support/index.js", + }, +}); diff --git a/tests/cypress/cypress.json b/tests/cypress/cypress.json deleted file mode 100644 index 411e8c554..000000000 --- a/tests/cypress/cypress.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "baseUrl": "http://localhost:3000/", - "experimentalStudio": true, - "redirectionLimit": 20, - "retries": 2, - "watchForFileChanges": true, - "testFiles": ["**/*.feature", "**/*.spec.js"], - "ignoreTestFiles": "filterReports.spec.js", - "fixturesFolder": "fixtures", - "integrationFolder": "tests", - "pluginsFile": "plugins/index.js", - "screenshotsFolder": "screenshots", - "videosFolder": "videos", - "downloadsFolder": "downloads", - "supportFile": "support/index.js", - "defaultCommandTimeout": 15000, - "types": ["cypress", "cypress-axe"] -} diff --git a/tests/cypress/package.json b/tests/cypress/package.json index 57239390c..beff017c1 100644 --- a/tests/cypress/package.json +++ b/tests/cypress/package.json @@ -16,7 +16,7 @@ "@cypress-audit/pa11y": "^1.2.0", "axe-core": "^4.4.1", "concurrently": "^6.2.1", - "cypress": "^9.4.1", + "cypress": "12.17.2", "cypress-axe": "^0.14.0", "cypress-cucumber-preprocessor": "^4.2.0", "cypress-file-upload": "^5.0.8", diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js index 5f575d656..9999c0d69 100644 --- a/tests/cypress/support/commands.js +++ b/tests/cypress/support/commands.js @@ -8,17 +8,14 @@ before(() => { cy.visit("/", { timeout: 60000 * 5 }); }); -const emailForCognito = "//input[@name='email']"; -const passwordForCognito = "//input[@name='password']"; - const stateUser = { - email: Cypress.env("STATE_USER_EMAIL"), - password: Cypress.env("STATE_USER_PASSWORD"), + email: "stateuser2@test.com", + password: "Dm!H@wP2YBdQ", }; const adminUser = { - email: Cypress.env("ADMIN_USER_EMAIL"), - password: Cypress.env("ADMIN_USER_PASSWORD"), + email: "cms.admin@test.com ", + password: "Dm!H@wP2YBdQ", }; const reviewer = { @@ -51,8 +48,8 @@ Cypress.Commands.add("authenticate", (userType, userCredentials) => { } else { throw new Error("Must specify either userType or userCredentials."); } - cy.xpath(emailForCognito).type(credentials.email); - cy.xpath(passwordForCognito).type(credentials.password); + cy.get('input[name="email"]').type(credentials.email); + cy.get('input[name="password"]').type(credentials.password); cy.get('[data-cy="login-with-cognito-button"]').click(); }); diff --git a/tests/cypress/support/index.js b/tests/cypress/support/index.js index 69a4833e5..5b3037827 100644 --- a/tests/cypress/support/index.js +++ b/tests/cypress/support/index.js @@ -1,32 +1,11 @@ -/* - * *********************************************************** - * This example support/index.js is processed and - * loaded automatically before your test files. - * - * This is a great place to put global configuration and - * behavior that modifies Cypress. - * - * You can change the location of this file or turn off - * automatically serving support files with the - * 'supportFile' configuration option. - * - * You can read more here: - * https://on.cypress.io/configuration - * *********************************************************** - */ { require("cypress-xpath"); } -// Import commands.js using ES2015 syntax: import "./commands"; - -/* - * Alternatively you can use CommonJS syntax: - * require('./commands') - */ - -/* - * This is a Cypress plugin that allows you to run axe (https://dequeuniversity.com/rules/axe/about) on - * your tests. - */ import "cypress-axe"; + +// eslint-disable-next-line no-unused-vars +Cypress.on("uncaught:exception", (err, runnable) => { + // returning false here prevents Cypress from failing the test + return false; +}); diff --git a/tests/cypress/support/pages/Homepage.js b/tests/cypress/support/pages/Homepage.js index c83d4b2f8..7841f5a71 100644 --- a/tests/cypress/support/pages/Homepage.js +++ b/tests/cypress/support/pages/Homepage.js @@ -1,13 +1,13 @@ -const appLogo = "//a[contains(text(), 'CARTS')]"; +const appLogo = "a[contains(text(), 'CARTS')]"; const headerAppLogo = "a[contains(text(), 'CARTS')]"; const headerLoginButton = "a#loginButton"; const footerAddress = '(//div[@class="footer-wrapper"]/div)[2]'; const footerEmail = ".footer-email"; const footerHhsLogo = "img[alt='Department of Health and Human Services logo']"; -const footerMdctLogo = "//img[@alt='Mdct logo']"; -const footerMedicaidLogo = "//img[@alt='Medicaid.gov logo']"; +const footerMdctLogo = "img[@alt='Mdct logo']"; +const footerMedicaidLogo = "img[@alt='Medicaid.gov logo']"; const medicaidLogo = "img[alt='Medicaid.gov logo']"; -const footerSentence = '(//div[@class="footer-fed-gov-text"])[1]'; +const footerSentence = '(div[@class="footer-fed-gov-text"])[1]'; export class Homepage { launch() { @@ -15,18 +15,17 @@ export class Homepage { } verifyLogos() { - cy.xpath(appLogo).should("be.visible"); - cy.xpath(footerMdctLogo).should("be.visible"); - cy.xpath(footerMedicaidLogo).should("be.visible"); + cy.get(appLogo).should("be.visible"); + cy.get(footerMdctLogo).should("be.visible"); + cy.get(footerMedicaidLogo).should("be.visible"); } validateCoreSetReportingIcon() { - //cy.wait(3000); cy.get(headerAppLogo).should("be.visible"); } validatePageBanner() { - cy.xpath(headerAppLogo).should("be.visible"); + cy.get(headerAppLogo).should("be.visible"); } validateLoginButton() { @@ -38,7 +37,7 @@ export class Homepage { } validateSupportSenence() { - cy.xpath(footerSentence).should("be.visible"); + cy.get(footerSentence).should("be.visible"); } validateMedicaidLogo() { @@ -54,7 +53,7 @@ export class Homepage { } validateAddress() { - cy.xpath(footerAddress).contains( + cy.get(footerAddress).contains( "7500 Security Boulevard Baltimore, MD 21244" ); } diff --git a/tests/cypress/support/pages/LoginPage.js b/tests/cypress/support/pages/LoginPage.js index 4792bc87c..2b94274c6 100644 --- a/tests/cypress/support/pages/LoginPage.js +++ b/tests/cypress/support/pages/LoginPage.js @@ -1,26 +1,26 @@ -const cognitoUserEmail = "//input[@name='email']"; -const cognitoUserPassword = "//input[@name='password']"; -const cognitoLoginButton = "//button[@data-cy='login-with-cognito-button']"; +const cognitoUserEmail = "input[@name='email']"; +const cognitoUserPassword = "input[@name='password']"; +const cognitoLoginButton = "button[@data-cy='login-with-cognito-button']"; export class LoginPage { enterEmailwithCognitoLogin() { - cy.xpath(cognitoUserEmail).type("stateuser1@test.com"); + cy.get(cognitoUserEmail).type("stateuser1@test.com"); } enterPasswordwithCognitoLogin() { - cy.xpath(cognitoUserPassword).type("p@55W0rd!"); + cy.get(cognitoUserPassword).type("p@55W0rd!"); } stateCognitoLogin() { - cy.xpath(cognitoUserEmail).type("adminuser@test.com"); - cy.xpath(cognitoUserPassword).type("p@55W0rd!"); - cy.xpath(cognitoLoginButton).click(); + cy.get(cognitoUserEmail).type("adminuser@test.com"); + cy.get(cognitoUserPassword).type("p@55W0rd!"); + cy.get(cognitoLoginButton).click(); } approverCognitoLogin() { - cy.xpath(cognitoUserEmail).type("adminuser@test.com"); - cy.xpath(cognitoUserPassword).type("p@55W0rd!"); - cy.xpath(cognitoLoginButton).click(); + cy.get(cognitoUserEmail).type("adminuser@test.com"); + cy.get(cognitoUserPassword).type("p@55W0rd!"); + cy.get(cognitoLoginButton).click(); } } diff --git a/tests/cypress/tests/integration/filterReports.spec.js b/tests/cypress/tests/integration/filterReports.spec.js index 33a113b40..880d9a63a 100644 --- a/tests/cypress/tests/integration/filterReports.spec.js +++ b/tests/cypress/tests/integration/filterReports.spec.js @@ -1,5 +1,5 @@ describe("Check Report Filtering as CMS Reviewer and Help Desk User", () => { - before(() => { + beforeEach(() => { cy.visit("/"); cy.authenticate("adminUser"); }); diff --git a/tests/cypress/tests/integration/login.spec.js b/tests/cypress/tests/integration/login.spec.js index 2bbc9b77e..c43f7f194 100644 --- a/tests/cypress/tests/integration/login.spec.js +++ b/tests/cypress/tests/integration/login.spec.js @@ -4,7 +4,7 @@ const logoutButton = "[data-testid='header-menu-option-log-out']"; const headerDropdownMenu = "[data-testid='headerDropDownMenu']"; describe("CARTS Login Integration Tests", () => { - before(() => { + beforeEach(() => { cy.visit("/"); }); diff --git a/tests/cypress/tests/integration/submitAndUncertify.spec.js b/tests/cypress/tests/integration/submitAndUncertify.spec.js index 44f11d7b6..ca91c864c 100644 --- a/tests/cypress/tests/integration/submitAndUncertify.spec.js +++ b/tests/cypress/tests/integration/submitAndUncertify.spec.js @@ -6,7 +6,7 @@ const certifySubmitButton = "[data-testid='certifySubmit']"; const uncertifyButton = "[data-testid='uncertifyButton']"; describe("CARTS Submit and Uncertify Integration Tests", () => { - before(() => { + beforeEach(() => { cy.visit("/"); // login as admin diff --git a/tests/cypress/yarn.lock b/tests/cypress/yarn.lock index aaa1da6cc..8037ce16e 100644 --- a/tests/cypress/yarn.lock +++ b/tests/cypress/yarn.lock @@ -997,10 +997,10 @@ through2 "^2.0.0" watchify "^4.0.0" -"@cypress/request@^2.88.10": - version "2.88.10" - resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.10.tgz#b66d76b07f860d3a4b8d7a0604d020c662752cce" - integrity sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg== +"@cypress/request@^2.88.11": + version "2.88.11" + resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.11.tgz#5a4c7399bc2d7e7ed56e92ce5acb620c8b187047" + integrity sha512-M83/wfQ1EkspjkE2lNWNV5ui2Cv7UCv1swW1DqljahbzLVWltcsexQh8jYtuS/vzFXP+HySntGM83ZXA9fn17w== dependencies: aws-sign2 "~0.7.0" aws4 "^1.8.0" @@ -1015,7 +1015,7 @@ json-stringify-safe "~5.0.1" mime-types "~2.1.19" performance-now "^2.1.0" - qs "~6.5.2" + qs "~6.10.3" safe-buffer "^5.1.2" tough-cookie "~2.5.0" tunnel-agent "^0.6.0" @@ -1949,10 +1949,10 @@ commander@^2.9.0: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" - integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== +commander@^6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" + integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== commander@~8.0.0: version "8.0.0" @@ -2245,12 +2245,12 @@ cypress-xpath@^1.6.2: resolved "https://registry.yarnpkg.com/cypress-xpath/-/cypress-xpath-1.6.2.tgz#e9d44c3ab694fefa8608f1d977e3e389647f10d3" integrity sha512-mtwJPl840GQPGtb480fKR5vDIcijBHhAVwby5/AIPIT/UVT7UJhM2L42/R+venR7N01I0PoOJErb6UiMbCyUxg== -cypress@^9.4.1: - version "9.4.1" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.4.1.tgz#1a4ba706435829c24b7edf350c2b059e05da9084" - integrity sha512-+JgMG9uT+QFx97JU9kOHE3jO3+0UdkQ9H1oCBiC7A74qme7Jkdy2sYDBCPjjGczutnWnGUTMRlwiNMP/Uq6LrQ== +cypress@12.17.2: + version "12.17.2" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-12.17.2.tgz#040ac55de1e811f6e037d231a2869d5ab8c29c85" + integrity sha512-hxWAaWbqQBzzMuadSGSuQg5PDvIGOovm6xm0hIfpCVcORsCAj/gF2p0EvfnJ4f+jK2PCiDgP6D2eeE9/FK4Mjg== dependencies: - "@cypress/request" "^2.88.10" + "@cypress/request" "^2.88.11" "@cypress/xvfb" "^1.2.4" "@types/node" "^14.14.31" "@types/sinonjs__fake-timers" "8.1.1" @@ -2264,12 +2264,12 @@ cypress@^9.4.1: check-more-types "^2.24.0" cli-cursor "^3.1.0" cli-table3 "~0.6.1" - commander "^5.1.0" + commander "^6.2.1" common-tags "^1.8.0" dayjs "^1.10.4" - debug "^4.3.2" + debug "^4.3.4" enquirer "^2.3.6" - eventemitter2 "^6.4.3" + eventemitter2 "6.4.7" execa "4.1.0" executable "^4.1.1" extract-zip "2.0.1" @@ -2282,12 +2282,12 @@ cypress@^9.4.1: listr2 "^3.8.3" lodash "^4.17.21" log-symbols "^4.0.0" - minimist "^1.2.5" + 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.3.2" + semver "^7.5.3" supports-color "^8.1.1" tmp "~0.2.1" untildify "^4.0.0" @@ -2328,7 +2328,7 @@ dayjs@^1.10.4: resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.10.7.tgz#2cf5f91add28116748440866a0a1d26f3a6ce468" integrity sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig== -debug@4: +debug@4, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -2630,10 +2630,10 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -eventemitter2@^6.4.3: - version "6.4.5" - resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.5.tgz#97380f758ae24ac15df8353e0cc27f8b95644655" - integrity sha512-bXE7Dyc1i6oQElDG0jMRZJrRAn9QR2xyyFGmBdZleNmyQX0FqGYmhZIrIrpPfm/w//LTo4tVQGOGQcGCb5q9uw== +eventemitter2@6.4.7: + version "6.4.7" + resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.7.tgz#a7f6c4d7abf28a14c1ef3442f21cb306a054271d" + integrity sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg== events@^2.0.0: version "2.1.0" @@ -3845,6 +3845,11 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== +minimist@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + mkdirp-classic@^0.5.2: version "0.5.3" resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" @@ -4306,10 +4311,12 @@ puppeteer@~9.1.1: unbzip2-stream "^1.3.3" ws "^7.2.3" -qs@~6.5.2: - version "6.5.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" - integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== +qs@~6.10.3: + version "6.10.5" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.5.tgz#974715920a80ff6a262264acd2c7e6c2a53282b4" + integrity sha512-O5RlPh0VFtR78y79rgcgKK4wbAI0C5zGVLztOIdpWX6ep368q5Hv6XRxDvXuZ9q3C6v+e3n8UfZZJw7IIG27eQ== + dependencies: + side-channel "^1.0.4" querystring-es3@~0.2.0: version "0.2.1" @@ -4596,10 +4603,10 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.3.2: - version "7.3.5" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" - integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== +semver@^7.5.3: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: lru-cache "^6.0.0" From a3f6af9622e79550ef36365e2edfec2a2a36a46f Mon Sep 17 00:00:00 2001 From: karla-vm Date: Wed, 26 Jul 2023 15:50:44 -0400 Subject: [PATCH 2/3] remove the secrets --- tests/cypress/support/commands.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js index 9999c0d69..b568b7f31 100644 --- a/tests/cypress/support/commands.js +++ b/tests/cypress/support/commands.js @@ -9,13 +9,13 @@ before(() => { }); const stateUser = { - email: "stateuser2@test.com", - password: "Dm!H@wP2YBdQ", + email: Cypress.env("STATE_USER_EMAIL"), + password: Cypress.env("STATE_USER_PASSWORD"), }; const adminUser = { - email: "cms.admin@test.com ", - password: "Dm!H@wP2YBdQ", + email: Cypress.env("ADMIN_USER_EMAIL"), + password: Cypress.env("ADMIN_USER_PASSWORD"), }; const reviewer = { From ae0c8e26d6909877c73226a1a3fae12b99b278cf Mon Sep 17 00:00:00 2001 From: karla-vm Date: Wed, 26 Jul 2023 16:26:59 -0400 Subject: [PATCH 3/3] upgrade github actions --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d2665705b..f1fce9821 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -110,7 +110,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run Cypress Tests - uses: cypress-io/github-action@v3.0.3 + uses: cypress-io/github-action@v4.1.0 with: working-directory: tests/cypress spec: tests/integration/*.spec.js @@ -143,7 +143,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check Project A11y - uses: cypress-io/github-action@v3.0.3 + uses: cypress-io/github-action@v4.1.0 with: working-directory: tests/cypress spec: tests/a11y/*.spec.js