keycloak-scim/cypress/support/pages/admin_console/manage/groups/MoveGroupModal.ts
2021-06-28 12:15:10 +02:00

24 lines
493 B
TypeScript

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