diff --git a/cypress/integration/realm_settings_test.spec.ts b/cypress/integration/realm_settings_test.spec.ts index e6319beb93..279d40a818 100644 --- a/cypress/integration/realm_settings_test.spec.ts +++ b/cypress/integration/realm_settings_test.spec.ts @@ -87,7 +87,7 @@ describe("Realm settings", () => { return this; }; - /*const addBundle = () => { + const addBundle = () => { const localizationUrl = `/auth/admin/realms/${realmName}/localization/en`; cy.intercept(localizationUrl).as("localizationFetch"); @@ -99,7 +99,7 @@ describe("Realm settings", () => { cy.wait(["@localizationFetch"]); return this; - };*/ + }; it("Go to general tab", function () { sidebarPage.goToRealmSettings(); @@ -264,7 +264,7 @@ describe("Realm settings", () => { realmSettingsPage.testSelectFilter(); }); - /* it("add locale", () => { + it("add locale", () => { sidebarPage.goToRealmSettings(); cy.getId("rs-localization-tab").click(); @@ -274,7 +274,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 1e3293a9c4..3a7d4e470c 100644 --- a/src/realm-settings/RealmSettingsSection.tsx +++ b/src/realm-settings/RealmSettingsSection.tsx @@ -24,7 +24,7 @@ import { ViewHeader } from "../components/view-header/ViewHeader"; import { useAdminClient, useFetch } from "../context/auth/AdminClient"; import { useRealm } from "../context/realm-context/RealmContext"; import { useServerInfo } from "../context/server-info/ServerInfoProvider"; -//import { LocalizationTab } from "./LocalizationTab"; +import { LocalizationTab } from "./LocalizationTab"; import { useWhoAmI } from "../context/whoami/WhoAmI"; import { toUpperCase } from "../util"; import { RealmSettingsEmailTab } from "./EmailTab"; @@ -305,7 +305,7 @@ export const RealmSettingsSection = () => { - {/* { realm={realm} /> )} - */} +