Skip to content

Commit

Permalink
revert to .pf-c-alert__title
Browse files Browse the repository at this point in the history
  • Loading branch information
xgp committed Jul 16, 2024
1 parent 2a2409e commit 0fbcc4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/e2e/cypress/e2e/migrating_users.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

/**
Expand Down Expand Up @@ -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() {
Expand All @@ -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();
}
Expand Down Expand Up @@ -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';
Expand Down Expand Up @@ -349,12 +349,12 @@ 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() {
cy.get('#password-new').type("pa$$word");
cy.get('#password-confirm').type("pa$$word");
cy.get("input").contains("Submit").click();
}
});
});

0 comments on commit 0fbcc4b

Please sign in to comment.