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; return this;
}; };
const addBundle = () => { /*const addBundle = () => {
const localizationUrl = `/auth/admin/realms/${realmName}/localization/en`; const localizationUrl = `/auth/admin/realms/${realmName}/localization/en`;
cy.intercept(localizationUrl).as("localizationFetch"); cy.intercept(localizationUrl).as("localizationFetch");
@ -64,7 +64,7 @@ describe("Realm settings", () => {
cy.wait(["@localizationFetch"]); cy.wait(["@localizationFetch"]);
return this; return this;
}; };*/
it("Go to general tab", function () { it("Go to general tab", function () {
sidebarPage.goToRealmSettings(); sidebarPage.goToRealmSettings();
@ -214,7 +214,7 @@ describe("Realm settings", () => {
realmSettingsPage.testSelectFilter(); realmSettingsPage.testSelectFilter();
}); });
it("add locale", () => { /* it("add locale", () => {
sidebarPage.goToRealmSettings(); sidebarPage.goToRealmSettings();
cy.getId("rs-localization-tab").click(); cy.getId("rs-localization-tab").click();
@ -224,7 +224,7 @@ describe("Realm settings", () => {
masthead.checkNotificationMessage( masthead.checkNotificationMessage(
"Success! The localization text has been created." "Success! The localization text has been created."
); );
}); });*/
it("Realm header settings", () => { it("Realm header settings", () => {
sidebarPage.goToRealmSettings(); sidebarPage.goToRealmSettings();

View file

@ -31,7 +31,7 @@ import { EventsTab } from "./event-config/EventsTab";
import type ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation"; import type ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation";
import { KeysProvidersTab } from "./KeysProvidersTab"; import { KeysProvidersTab } from "./KeysProvidersTab";
import { useServerInfo } from "../context/server-info/ServerInfoProvider"; import { useServerInfo } from "../context/server-info/ServerInfoProvider";
import { LocalizationTab } from "./LocalizationTab"; //import { LocalizationTab } from "./LocalizationTab";
import { WhoAmIContext } from "../context/whoami/WhoAmI"; import { WhoAmIContext } from "../context/whoami/WhoAmI";
import type UserRepresentation from "keycloak-admin/lib/defs/userRepresentation"; import type UserRepresentation from "keycloak-admin/lib/defs/userRepresentation";
import { SecurityDefences } from "./security-defences/SecurityDefences"; import { SecurityDefences } from "./security-defences/SecurityDefences";
@ -292,7 +292,7 @@ export const RealmSettingsSection = () => {
<EventsTab /> <EventsTab />
</Tab> </Tab>
<Tab {/* <Tab
id="localization" id="localization"
eventKey="localization" eventKey="localization"
data-testid="rs-localization-tab" data-testid="rs-localization-tab"
@ -307,7 +307,7 @@ export const RealmSettingsSection = () => {
realm={realm} realm={realm}
/> />
)} )}
</Tab> </Tab> */}
<Tab <Tab
id="securityDefences" id="securityDefences"
eventKey="securityDefences" eventKey="securityDefences"