Comment out localization tab. (#861)

This commit is contained in:
Stan Silvert 2021-07-16 04:10:06 -04:00 committed by GitHub
parent c848c794d7
commit bcc3a84bb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -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();

View file

@ -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 = () => {
<EventsTab />
</Tab>
<Tab
{/* <Tab
id="localization"
eventKey="localization"
data-testid="rs-localization-tab"
@ -307,7 +307,7 @@ export const RealmSettingsSection = () => {
realm={realm}
/>
)}
</Tab>
</Tab> */}
<Tab
id="securityDefences"
eventKey="securityDefences"