From d7dd078eb6b164d079158fd6849a64247196a187 Mon Sep 17 00:00:00 2001 From: Dimitriy Kravchenko Date: Wed, 21 Oct 2026 13:02:15 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Revert=20"CC-40655=20Quarantine=20the=20ema?= =?UTF-8?q?il=20change=20limit=20test=20until=20the=20suite=20rate=20?= =?UTF-8?q?=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 7d1cef31b77b6a09dbdd66a2cbef686791bc6b87. --- .../customer-email-change.cy.ts | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts b/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts index 42a418a0..795e1809 100644 --- a/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts +++ b/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts @@ -42,26 +42,22 @@ describe( customerProfilePage.getEmailInput().should('have.value', dynamicFixtures.customer.email); }); - it( - 'customer should not receive more than 3 verification emails within 15 minutes', - { tags: ['@quarantine'] }, - (): void => { - const customerEmail = dynamicFixtures.customerWithEmailChangeLimit.email; + it('customer should not receive more than 3 verification emails within 15 minutes', (): void => { + const customerEmail = dynamicFixtures.customerWithEmailChangeLimit.email; - loginAs(customerEmail); - customerProfilePage.visit(); + loginAs(customerEmail); + customerProfilePage.visit(); - ['first', 'second', 'third'].forEach((prefix: string): void => { - customerProfilePage.updateEmail(getNewEmail(prefix, customerEmail)); - customerProfilePage.getEmailChangeMailSentMessage().should('be.visible'); - }); + ['first', 'second', 'third'].forEach((prefix: string): void => { + customerProfilePage.updateEmail(getNewEmail(prefix, customerEmail)); + customerProfilePage.getEmailChangeMailSentMessage().should('be.visible'); + }); - customerProfilePage.updateEmail(getNewEmail('fourth', customerEmail)); + customerProfilePage.updateEmail(getNewEmail('fourth', customerEmail)); - customerProfilePage.getEmailChangeLimitExceededError().should('be.visible'); - customerProfilePage.getEmailChangeMailSentMessage().should('not.exist'); - customerProfilePage.getEmailInput().should('have.value', customerEmail); - } - ); + customerProfilePage.getEmailChangeLimitExceededError().should('be.visible'); + customerProfilePage.getEmailChangeMailSentMessage().should('not.exist'); + customerProfilePage.getEmailInput().should('have.value', customerEmail); + }); } ); From d1010448b17ba3b30a96c9eb001f8d3fec21eec3 Mon Sep 17 00:00:00 2001 From: nidhognit Date: Thu, 22 Oct 2026 11:28:44 +0200 Subject: [PATCH 2/2] CC-40655 Rate Limiting on Email Change --- .../customer-account-management/customer-email-change.cy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts b/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts index 795e1809..ec9e0072 100644 --- a/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts +++ b/cypress/e2e/yves/customer-account-management/customer-email-change.cy.ts @@ -42,7 +42,7 @@ describe( customerProfilePage.getEmailInput().should('have.value', dynamicFixtures.customer.email); }); - it('customer should not receive more than 3 verification emails within 15 minutes', (): void => { + it('customer should not receive more than 3 verification emails within 15 minutes', { retries: 0 }, (): void => { const customerEmail = dynamicFixtures.customerWithEmailChangeLimit.email; loginAs(customerEmail); @@ -57,6 +57,8 @@ describe( customerProfilePage.getEmailChangeLimitExceededError().should('be.visible'); customerProfilePage.getEmailChangeMailSentMessage().should('not.exist'); + + customerProfilePage.visit(); customerProfilePage.getEmailInput().should('have.value', customerEmail); }); }