18 lines
460 B
TypeScript
18 lines
460 B
TypeScript
import ModalUtils from "../../../../util/ModalUtils";
|
|
|
|
export default class BindFlowModal extends ModalUtils {
|
|
private bindingType = "#chooseBindingType";
|
|
private dropdownSelectToggleItem = ".pf-c-select__menu > li";
|
|
|
|
fill(bindingType: string) {
|
|
cy.get(this.bindingType).click();
|
|
cy.get(this.dropdownSelectToggleItem).contains(bindingType).click();
|
|
return this;
|
|
}
|
|
|
|
save() {
|
|
cy.findAllByTestId("save").click();
|
|
|
|
return this;
|
|
}
|
|
}
|