Comment tests (#1102)
* Comment delete providers test. * Comment delete default mappers test
This commit is contained in:
parent
e5b8d04270
commit
6df4725143
2 changed files with 8 additions and 6 deletions
|
@ -71,7 +71,7 @@ describe("Realm settings", () => {
|
|||
return this;
|
||||
};
|
||||
|
||||
const deleteProvider = (providerName: string) => {
|
||||
/*const deleteProvider = (providerName: string) => {
|
||||
const url = `/auth/admin/realms/${realmName}/users/*`;
|
||||
cy.intercept(url).as("reload");
|
||||
cy.getId("provider-name")
|
||||
|
@ -85,7 +85,7 @@ describe("Realm settings", () => {
|
|||
|
||||
cy.wait(["@reload"]);
|
||||
return this;
|
||||
};
|
||||
};*/
|
||||
|
||||
const addBundle = () => {
|
||||
const localizationUrl = `/auth/admin/realms/${realmName}/localization/en`;
|
||||
|
@ -242,7 +242,7 @@ describe("Realm settings", () => {
|
|||
goToDetails();
|
||||
});
|
||||
|
||||
it("delete providers", () => {
|
||||
/*it("delete providers", () => {
|
||||
sidebarPage.goToRealmSettings();
|
||||
const url = `/auth/admin/realms/${realmName}/keys`;
|
||||
cy.intercept(url).as("load");
|
||||
|
@ -256,7 +256,7 @@ describe("Realm settings", () => {
|
|||
deleteProvider("test_ecdsa-generated");
|
||||
deleteProvider("test_hmac-generated");
|
||||
deleteProvider("test_rsa-generated");
|
||||
});
|
||||
});*/
|
||||
it("Test keys", () => {
|
||||
sidebarPage.goToRealmSettings();
|
||||
goToKeys();
|
||||
|
|
|
@ -67,6 +67,7 @@ const groupLdapMapper = "group-ldap-mapper";
|
|||
const roleLdapMapper = "role-ldap-mapper";
|
||||
const hcLdapRoleMapper = "hardcoded-ldap-role-mapper";
|
||||
|
||||
/* Used by "Delete default mappers" test
|
||||
const creationDateMapper = "creation date";
|
||||
const emailMapper = "email";
|
||||
const lastNameMapper = "last name";
|
||||
|
@ -74,6 +75,7 @@ const modifyDateMapper = "modify date";
|
|||
const usernameMapper = "username";
|
||||
const firstNameMapper = "first name";
|
||||
const MsadAccountControlsMapper = "MSAD account controls";
|
||||
*/
|
||||
|
||||
describe("User Fed LDAP mapper tests", () => {
|
||||
beforeEach(() => {
|
||||
|
@ -142,7 +144,7 @@ describe("User Fed LDAP mapper tests", () => {
|
|||
});
|
||||
|
||||
// delete default mappers
|
||||
it("Delete default mappers", () => {
|
||||
/*it("Delete default mappers", () => {
|
||||
providersPage.clickExistingCard(ldapName);
|
||||
providersPage.goToMappers();
|
||||
|
||||
|
@ -181,7 +183,7 @@ describe("User Fed LDAP mapper tests", () => {
|
|||
.deleteItem(MsadAccountControlsMapper);
|
||||
modalUtils.checkModalTitle(mapperDeleteTitle).confirmModal();
|
||||
masthead.checkNotificationMessage(mapperDeletedSuccess);
|
||||
});
|
||||
});*/
|
||||
|
||||
// mapper CRUD tests
|
||||
// create mapper
|
||||
|
|
Loading…
Reference in a new issue