From 9916ce6f72b2fa31bf265ea9e63adeb1d5eb5ead Mon Sep 17 00:00:00 2001 From: Jumana B Date: Wed, 2 Oct 2024 09:54:09 -0400 Subject: [PATCH] Fix cypress tests (#1959) * Fix cypress tests * Update tests_cypress/cypress/e2e/admin/template-categories.cy.js * a11y(tou-prompt): remove duplicate IDs --------- Co-authored-by: Andrew --- app/templates/components/tou-prompt.html | 4 ++-- tests_cypress/cypress/e2e/admin/template-categories.cy.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/components/tou-prompt.html b/app/templates/components/tou-prompt.html index 07cfd83791..e30730e274 100644 --- a/app/templates/components/tou-prompt.html +++ b/app/templates/components/tou-prompt.html @@ -3,8 +3,8 @@ {% macro tou_prompt() %} -

{{ _('Before you continue') }}

-
+

{{ _('Before you continue') }}

+

{{ _('Review your activity') }}

{{ _('Our records show that these are the last 3 times you signed into this account:') }}

diff --git a/tests_cypress/cypress/e2e/admin/template-categories.cy.js b/tests_cypress/cypress/e2e/admin/template-categories.cy.js index 21dc3939d5..88c0f73057 100644 --- a/tests_cypress/cypress/e2e/admin/template-categories.cy.js +++ b/tests_cypress/cypress/e2e/admin/template-categories.cy.js @@ -22,7 +22,7 @@ describe("Template categories", () => { const categories = { OTHER: "Other", AUTH: "Authentication", - AUTOREPLY: "Automatic reply", + AUTOREPLY: "General communication", }; templates.forEach((template) => {