From b71795470926876279cd95c1312e86a18d548416 Mon Sep 17 00:00:00 2001 From: mfrances Date: Fri, 12 Mar 2021 11:30:14 -0500 Subject: [PATCH] change reload txt to revert --- cypress/integration/clients_test.spec.ts | 2 +- .../pages/admin_console/manage/clients/AdvancedTab.ts | 6 +++--- src/clients/advanced/AdvancedSettings.tsx | 2 +- src/clients/advanced/FineGrainOpenIdConnect.tsx | 4 ++-- src/clients/advanced/FineGrainSamlEndpointConfig.tsx | 2 +- src/clients/advanced/OpenIdConnectCompatibilityModes.tsx | 2 +- src/clients/advanced/SaveReset.tsx | 4 ++-- src/common-messages.json | 2 +- src/realm-roles/RealmRoleForm.tsx | 2 +- src/realm-roles/RoleAttributes.tsx | 2 +- src/realm-settings/RealmSettingsSection.tsx | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/cypress/integration/clients_test.spec.ts b/cypress/integration/clients_test.spec.ts index 4763f61bd9..93dde94bac 100644 --- a/cypress/integration/clients_test.spec.ts +++ b/cypress/integration/clients_test.spec.ts @@ -158,7 +158,7 @@ describe("Clients test", function () { advancedTab .selectAccessTokenSignatureAlgorithm("HS384") - .clickReloadFineGrain(); + .clickRevertFineGrain(); advancedTab.checkAccessTokenSignatureAlgorithm(algorithm); }); }); diff --git a/cypress/support/pages/admin_console/manage/clients/AdvancedTab.ts b/cypress/support/pages/admin_console/manage/clients/AdvancedTab.ts index 6579b71cd1..b8627bc6a6 100644 --- a/cypress/support/pages/admin_console/manage/clients/AdvancedTab.ts +++ b/cypress/support/pages/admin_console/manage/clients/AdvancedTab.ts @@ -15,7 +15,7 @@ export default class AdvancedTab { private accessTokenSignatureAlgorithm = "#accessTokenSignatureAlgorithm"; private fineGrainSave = "#fineGrainSave"; - private fineGrainReload = "#fineGrainReload"; + private fineGrainRevert = "#fineGrainRevert"; private advancedTab = "#pf-tab-advanced-advanced"; @@ -98,8 +98,8 @@ export default class AdvancedTab { return this; } - clickReloadFineGrain() { - cy.get(this.fineGrainReload).click(); + clickRevertFineGrain() { + cy.get(this.fineGrainRevert).click(); return this; } } diff --git a/src/clients/advanced/AdvancedSettings.tsx b/src/clients/advanced/AdvancedSettings.tsx index d920e3a45f..b0adc816c2 100644 --- a/src/clients/advanced/AdvancedSettings.tsx +++ b/src/clients/advanced/AdvancedSettings.tsx @@ -154,7 +154,7 @@ export const AdvancedSettings = ({ {t("common:save")} diff --git a/src/clients/advanced/FineGrainOpenIdConnect.tsx b/src/clients/advanced/FineGrainOpenIdConnect.tsx index e22c2eba68..cd9c1b8372 100644 --- a/src/clients/advanced/FineGrainOpenIdConnect.tsx +++ b/src/clients/advanced/FineGrainOpenIdConnect.tsx @@ -348,8 +348,8 @@ export const FineGrainOpenIdConnect = ({ - diff --git a/src/clients/advanced/FineGrainSamlEndpointConfig.tsx b/src/clients/advanced/FineGrainSamlEndpointConfig.tsx index bac7a856fa..3744b0327d 100644 --- a/src/clients/advanced/FineGrainSamlEndpointConfig.tsx +++ b/src/clients/advanced/FineGrainSamlEndpointConfig.tsx @@ -103,7 +103,7 @@ export const FineGrainSamlEndpointConfig = ({ {t("common:save")} diff --git a/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx b/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx index ae1a333dc8..7a577ef768 100644 --- a/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx +++ b/src/clients/advanced/OpenIdConnectCompatibilityModes.tsx @@ -51,7 +51,7 @@ export const OpenIdConnectCompatibilityModes = ({ {t("common:save")} diff --git a/src/clients/advanced/SaveReset.tsx b/src/clients/advanced/SaveReset.tsx index 4a6b0b5e81..a548701e57 100644 --- a/src/clients/advanced/SaveReset.tsx +++ b/src/clients/advanced/SaveReset.tsx @@ -15,8 +15,8 @@ export const SaveReset = ({ name, save, reset }: SaveResetProps) => { - ); diff --git a/src/common-messages.json b/src/common-messages.json index 9772c853a4..e5b2691815 100644 --- a/src/common-messages.json +++ b/src/common-messages.json @@ -8,7 +8,7 @@ "no": "No", "create": "Create", "save": "Save", - "reload": "Reload", + "revert": "Revert", "cancel": "Cancel", "continue": "Continue", "delete": "Delete", diff --git a/src/realm-roles/RealmRoleForm.tsx b/src/realm-roles/RealmRoleForm.tsx index e71942dc14..11d614aaea 100644 --- a/src/realm-roles/RealmRoleForm.tsx +++ b/src/realm-roles/RealmRoleForm.tsx @@ -81,7 +81,7 @@ export const RealmRoleForm = ({ {t("common:save")} diff --git a/src/realm-roles/RoleAttributes.tsx b/src/realm-roles/RoleAttributes.tsx index ede17adfc9..072df1494d 100644 --- a/src/realm-roles/RoleAttributes.tsx +++ b/src/realm-roles/RoleAttributes.tsx @@ -146,7 +146,7 @@ export const RoleAttributes = ({ {t("common:save")} diff --git a/src/realm-settings/RealmSettingsSection.tsx b/src/realm-settings/RealmSettingsSection.tsx index 2334a63946..2258332832 100644 --- a/src/realm-settings/RealmSettingsSection.tsx +++ b/src/realm-settings/RealmSettingsSection.tsx @@ -324,7 +324,7 @@ export const RealmSettingsSection = () => { {t("common:save")}