change reload txt to revert
This commit is contained in:
parent
ab857938cd
commit
b717954709
11 changed files with 15 additions and 15 deletions
|
@ -158,7 +158,7 @@ describe("Clients test", function () {
|
|||
|
||||
advancedTab
|
||||
.selectAccessTokenSignatureAlgorithm("HS384")
|
||||
.clickReloadFineGrain();
|
||||
.clickRevertFineGrain();
|
||||
advancedTab.checkAccessTokenSignatureAlgorithm(algorithm);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -154,7 +154,7 @@ export const AdvancedSettings = ({
|
|||
{t("common:save")}
|
||||
</Button>
|
||||
<Button variant="link" onClick={reset}>
|
||||
{t("common:reload")}
|
||||
{t("common:revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
</FormAccess>
|
||||
|
|
|
@ -348,8 +348,8 @@ export const FineGrainOpenIdConnect = ({
|
|||
<Button id="fineGrainSave" variant="tertiary" onClick={save}>
|
||||
{t("common:save")}
|
||||
</Button>
|
||||
<Button id="fineGrainReload" variant="link" onClick={reset}>
|
||||
{t("common:reload")}
|
||||
<Button id="fineGrainRevert" variant="link" onClick={reset}>
|
||||
{t("common:revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
</FormAccess>
|
||||
|
|
|
@ -103,7 +103,7 @@ export const FineGrainSamlEndpointConfig = ({
|
|||
{t("common:save")}
|
||||
</Button>
|
||||
<Button variant="link" onClick={reset}>
|
||||
{t("common:reload")}
|
||||
{t("common:revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
</FormAccess>
|
||||
|
|
|
@ -51,7 +51,7 @@ export const OpenIdConnectCompatibilityModes = ({
|
|||
{t("common:save")}
|
||||
</Button>
|
||||
<Button variant="link" onClick={reset}>
|
||||
{t("common:reload")}
|
||||
{t("common:revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
</FormAccess>
|
||||
|
|
|
@ -15,8 +15,8 @@ export const SaveReset = ({ name, save, reset }: SaveResetProps) => {
|
|||
<Button data-testid={name + "Save"} variant="tertiary" onClick={save}>
|
||||
{t("common:save")}
|
||||
</Button>
|
||||
<Button data-testid={name + "Reload"} variant="link" onClick={reset}>
|
||||
{t("common:reload")}
|
||||
<Button data-testid={name + "Revert"} variant="link" onClick={reset}>
|
||||
{t("common:revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
);
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"no": "No",
|
||||
"create": "Create",
|
||||
"save": "Save",
|
||||
"reload": "Reload",
|
||||
"revert": "Revert",
|
||||
"cancel": "Cancel",
|
||||
"continue": "Continue",
|
||||
"delete": "Delete",
|
||||
|
|
|
@ -81,7 +81,7 @@ export const RealmRoleForm = ({
|
|||
{t("common:save")}
|
||||
</Button>
|
||||
<Button onClick={() => reset()} variant="link">
|
||||
{editMode ? t("common:reload") : t("common:cancel")}
|
||||
{editMode ? t("common:revert") : t("common:cancel")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
</FormAccess>
|
||||
|
|
|
@ -146,7 +146,7 @@ export const RoleAttributes = ({
|
|||
{t("common:save")}
|
||||
</Button>
|
||||
<Button onClick={reset} variant="link">
|
||||
{t("common:reload")}
|
||||
{t("common:revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
</FormAccess>
|
||||
|
|
|
@ -324,7 +324,7 @@ export const RealmSettingsSection = () => {
|
|||
{t("common:save")}
|
||||
</Button>
|
||||
<Button variant="link" onClick={() => setupForm(realm!)}>
|
||||
{t("common:reload")}
|
||||
{t("common:revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
</FormAccess>
|
||||
|
|
Loading…
Reference in a new issue