2022-06-28 12:23:38 +00:00
|
|
|
import ModalUtils from "../../../../util/ModalUtils";
|
|
|
|
|
|
|
|
export default class BindFlowModal extends ModalUtils {
|
|
|
|
private bindingType = "#chooseBindingType";
|
2022-06-28 15:25:49 +00:00
|
|
|
private dropdownSelectToggleItem = ".pf-c-select__menu > li";
|
2022-06-28 12:23:38 +00:00
|
|
|
|
|
|
|
fill(bindingType: string) {
|
|
|
|
cy.get(this.bindingType).click();
|
|
|
|
cy.get(this.dropdownSelectToggleItem).contains(bindingType).click();
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
save() {
|
|
|
|
cy.findAllByTestId("save").click();
|
|
|
|
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|