Renamed mapping(s) to role(s) (#3920)

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
agagancarczyk 2022-12-02 09:41:30 +00:00 committed by GitHub
parent e28277846d
commit 77ec5a4c5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 15 deletions

View file

@ -343,7 +343,7 @@ describe("Client Scopes test", () => {
masthead.checkNotificationMessage("Role mapping updated");
scopeTab.checkRoles([role]);
scopeTab.hideInheritedRoles().selectRow(role).unAssign();
modalUtils.checkModalTitle("Remove mapping?").confirmModal();
modalUtils.checkModalTitle("Remove role?").confirmModal();
scopeTab.checkRoles([]);
});
});

View file

@ -634,7 +634,7 @@ describe("Clients test", () => {
rolesTab.goToAssociatedRolesTab();
commonPage.tableUtils().selectRowItemAction("create-realm", "Unassign");
commonPage.sidebar().waitForPageLoad();
commonPage.modalUtils().checkModalTitle("Remove mapping?").confirmModal();
commonPage.modalUtils().checkModalTitle("Remove role?").confirmModal();
commonPage.sidebar().waitForPageLoad();
commonPage
@ -643,7 +643,7 @@ describe("Clients test", () => {
commonPage.tableUtils().selectRowItemAction("manage-consent", "Unassign");
commonPage.sidebar().waitForPageLoad();
commonPage.modalUtils().checkModalTitle("Remove mapping?").confirmModal();
commonPage.modalUtils().checkModalTitle("Remove role?").confirmModal();
});
it("Should delete associated role from search bar test", () => {
@ -662,7 +662,7 @@ describe("Clients test", () => {
associatedRolesPage.removeAssociatedRoles();
commonPage.sidebar().waitForPageLoad();
commonPage.modalUtils().checkModalTitle("Remove mapping?").confirmModal();
commonPage.modalUtils().checkModalTitle("Remove role?").confirmModal();
commonPage.sidebar().waitForPageLoad();
commonPage
@ -880,7 +880,7 @@ describe("Clients test", () => {
serviceAccountTab.selectRow("create-realm").unAssign();
commonPage.sidebar().waitForPageLoad();
commonPage.modalUtils().checkModalTitle("Remove mapping?").confirmModal();
commonPage.modalUtils().checkModalTitle("Remove role?").confirmModal();
commonPage
.masthead()
.checkNotificationMessage("Scope mapping successfully removed");

View file

@ -153,7 +153,7 @@ describe("Realm roles test", () => {
rolesTab.goToAssociatedRolesTab();
listingPage.removeItem("create-realm");
sidebarPage.waitForPageLoad();
modalUtils.checkModalTitle("Remove mapping?").confirmModal();
modalUtils.checkModalTitle("Remove role?").confirmModal();
sidebarPage.waitForPageLoad();
masthead.checkNotificationMessage(
@ -172,7 +172,7 @@ describe("Realm roles test", () => {
associatedRolesPage.removeAssociatedRoles();
sidebarPage.waitForPageLoad();
modalUtils.checkModalTitle("Remove mapping?").confirmModal();
modalUtils.checkModalTitle("Remove role?").confirmModal();
sidebarPage.waitForPageLoad();
masthead.checkNotificationMessage(
@ -203,7 +203,7 @@ describe("Realm roles test", () => {
// delete associated roles from list
listingPage.removeItem("create-realm");
sidebarPage.waitForPageLoad();
modalUtils.checkModalTitle("Remove mapping?").confirmModal();
modalUtils.checkModalTitle("Remove role?").confirmModal();
sidebarPage.waitForPageLoad();
masthead.checkNotificationMessage(
@ -212,7 +212,7 @@ describe("Realm roles test", () => {
);
listingPage.removeItem("offline_access");
sidebarPage.waitForPageLoad();
modalUtils.checkModalTitle("Remove mapping?").confirmModal();
modalUtils.checkModalTitle("Remove role?").confirmModal();
sidebarPage.waitForPageLoad();
masthead.checkNotificationMessage(

View file

@ -48,8 +48,8 @@ describe("Realm settings - User registration tab", () => {
listingPage.markItemRow(role).removeMarkedItems("Unassign");
sidebarPage.waitForPageLoad();
modalUtils
.checkModalTitle("Remove mapping?")
.checkModalMessage("Are you sure you want to remove this mapping?")
.checkModalTitle("Remove role?")
.checkModalMessage("Are you sure you want to remove this role?")
.checkConfirmButtonText("Remove")
.confirmModal();
masthead.checkNotificationMessage("Scope mapping successfully removed");

View file

@ -173,7 +173,7 @@ export default class GroupDetailPage extends GroupPage {
deleteRole() {
modalUtils
.checkModalTitle("Remove mapping?")
.checkModalTitle("Remove role?")
.checkConfirmButtonText("Remove")
.confirmModal();
}

View file

@ -99,9 +99,9 @@
"password": "Password",
"oneTimePassword": "One-Time Password",
"kerberos": "Kerberos",
"removeMappingTitle": "Remove mapping?",
"removeMappingConfirm_one": "Are you sure you want to remove this mapping?",
"removeMappingConfirm_other": "Are you sure you want to remove {{count}} mappings",
"removeMappingTitle": "Remove role?",
"removeMappingConfirm_one": "Are you sure you want to remove this role?",
"removeMappingConfirm_other": "Are you sure you want to remove {{count}} roles",
"clientScopeSearch": {
"name": "Name",
"type": "Assigned type",