From 0fbcc4b71e97ec74ba7ca140f642226e5a20ac8c Mon Sep 17 00:00:00 2001 From: Garth <244253+xgp@users.noreply.github.com> Date: Tue, 16 Jul 2024 20:54:30 +0200 Subject: [PATCH] revert to .pf-c-alert__title --- docker/e2e/cypress/e2e/migrating_users.cy.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/e2e/cypress/e2e/migrating_users.cy.js b/docker/e2e/cypress/e2e/migrating_users.cy.js index dbc7ceec..9cca7b24 100644 --- a/docker/e2e/cypress/e2e/migrating_users.cy.js +++ b/docker/e2e/cypress/e2e/migrating_users.cy.js @@ -87,7 +87,7 @@ describe('user migration plugin', () => { .type('RESTclientprovider'); cy.get('#URI').clear().type(LEGACY_SYSTEM_URL); cy.get('button').contains('Save').click() - cy.get('.pf-v5-c-alert__title').should('contain', "User federation provider successfully"); + cy.get('.pf-c-alert__title').should('contain', "User federation provider successfully"); } /** @@ -149,7 +149,7 @@ describe('user migration plugin', () => { cy.get('button').contains('Save').click(); - cy.get('.pf-v5-c-alert__title').should('contain', "Your account has been updated"); + cy.get('.pf-c-alert__title').should('contain', "Your account has been updated"); } function configureSmtpSettings() { @@ -160,7 +160,7 @@ describe('user migration plugin', () => { cy.get('#kc-sender-email-address').clear().type(SMTP_FROM); cy.get('button').contains('Test connection').click(); - cy.get('.pf-v5-c-alert__title').should('contain', "Success! SMTP connection successful. E-mail was sent!"); + cy.get('.pf-c-alert__title').should('contain', "Success! SMTP connection successful. E-mail was sent!"); cy.get('button').contains('Save').click(); } @@ -220,7 +220,7 @@ describe('user migration plugin', () => { } cy.wrap(btn).click({multiple: true}); cy.get('button[data-testid="save"]').contains('Save').click(); - cy.get('.pf-v5-c-alert__title').should('contain', "Password policies successfully updated"); + cy.get('.pf-c-alert__title').should('contain', "Password policies successfully updated"); }); } else { return 'OK'; @@ -349,7 +349,7 @@ describe('user migration plugin', () => { cy.get('.pf-c-select__toggle').click() cy.get('button[role="option"]').contains('Special Characters').click(); cy.get('button[data-testid="save"]').contains('Save').click(); - cy.get('.pf-v5-c-alert__title').should('contain', "Password policies successfully updated"); + cy.get('.pf-c-alert__title').should('contain', "Password policies successfully updated"); } function provideNewPassword() { @@ -357,4 +357,4 @@ describe('user migration plugin', () => { cy.get('#password-confirm').type("pa$$word"); cy.get("input").contains("Submit").click(); } -}); \ No newline at end of file +});