From bcc3a84bb0f98a3e6594e03975e57d049d41bcfc Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Fri, 16 Jul 2021 04:10:06 -0400 Subject: [PATCH] Comment out localization tab. (#861) --- cypress/integration/realm_settings_test.spec.ts | 8 ++++---- src/realm-settings/RealmSettingsSection.tsx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cypress/integration/realm_settings_test.spec.ts b/cypress/integration/realm_settings_test.spec.ts index 715d7ac513..c276c0b705 100644 --- a/cypress/integration/realm_settings_test.spec.ts +++ b/cypress/integration/realm_settings_test.spec.ts @@ -52,7 +52,7 @@ describe("Realm settings", () => { return this; }; - const addBundle = () => { + /*const addBundle = () => { const localizationUrl = `/auth/admin/realms/${realmName}/localization/en`; cy.intercept(localizationUrl).as("localizationFetch"); @@ -64,7 +64,7 @@ describe("Realm settings", () => { cy.wait(["@localizationFetch"]); return this; - }; + };*/ it("Go to general tab", function () { sidebarPage.goToRealmSettings(); @@ -214,7 +214,7 @@ describe("Realm settings", () => { realmSettingsPage.testSelectFilter(); }); - it("add locale", () => { + /* it("add locale", () => { sidebarPage.goToRealmSettings(); cy.getId("rs-localization-tab").click(); @@ -224,7 +224,7 @@ describe("Realm settings", () => { masthead.checkNotificationMessage( "Success! The localization text has been created." ); - }); + });*/ it("Realm header settings", () => { sidebarPage.goToRealmSettings(); diff --git a/src/realm-settings/RealmSettingsSection.tsx b/src/realm-settings/RealmSettingsSection.tsx index 87829ba343..69a5da2d10 100644 --- a/src/realm-settings/RealmSettingsSection.tsx +++ b/src/realm-settings/RealmSettingsSection.tsx @@ -31,7 +31,7 @@ import { EventsTab } from "./event-config/EventsTab"; import type ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation"; import { KeysProvidersTab } from "./KeysProvidersTab"; import { useServerInfo } from "../context/server-info/ServerInfoProvider"; -import { LocalizationTab } from "./LocalizationTab"; +//import { LocalizationTab } from "./LocalizationTab"; import { WhoAmIContext } from "../context/whoami/WhoAmI"; import type UserRepresentation from "keycloak-admin/lib/defs/userRepresentation"; import { SecurityDefences } from "./security-defences/SecurityDefences"; @@ -292,7 +292,7 @@ export const RealmSettingsSection = () => { - { realm={realm} /> )} - + */}