keycloak-scim/cypress/support/pages/admin_console/manage/groups/MoveGroupModal.ts
Erik Jan de Wit f10661444d
initial move group dialog (#455)
* initial move group dialog

* added test

* fixed search and added breadcrumb

* filter current group

* added empty state

* add cancel button to modal

* fixed merge error
2021-03-29 07:37:47 -04:00

19 lines
387 B
TypeScript

export default class MoveGroupModal {
private moveButton = "moveGroup";
private title = ".pf-c-modal-box__title";
clickRow(groupName: string) {
cy.getId(groupName).click();
return this;
}
checkTitle(title: string) {
cy.get(this.title).should("have.text", title);
return this;
}
clickMove() {
cy.getId(this.moveButton).click();
return this;
}
}