20 lines
387 B
TypeScript
20 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;
|
||
|
}
|
||
|
}
|