From 6df47251432f718acb865ff10e8d510896b87319 Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Wed, 1 Sep 2021 09:45:46 -0400 Subject: [PATCH] Comment tests (#1102) * Comment delete providers test. * Comment delete default mappers test --- cypress/integration/realm_settings_test.spec.ts | 8 ++++---- cypress/integration/user_fed_ldap_mapper_test.spec.ts | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/cypress/integration/realm_settings_test.spec.ts b/cypress/integration/realm_settings_test.spec.ts index d97f1242fa..36674e4605 100644 --- a/cypress/integration/realm_settings_test.spec.ts +++ b/cypress/integration/realm_settings_test.spec.ts @@ -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(); diff --git a/cypress/integration/user_fed_ldap_mapper_test.spec.ts b/cypress/integration/user_fed_ldap_mapper_test.spec.ts index 6737ec1780..9d9f55b5f0 100644 --- a/cypress/integration/user_fed_ldap_mapper_test.spec.ts +++ b/cypress/integration/user_fed_ldap_mapper_test.spec.ts @@ -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