package cz.moneta.test.dsl.ufo.banka.pages.main;

import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.main.INK001_S009_ChangeAuthorizationForDirectDebitPage.INK001_S009_PAGE_LABEL_XPATH;

@Wait(value = INK001_S009_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface INK001_S009_ChangeAuthorizationForDirectDebitPage extends WebFlow<INK001_S009_ChangeAuthorizationForDirectDebitPage> {

    String INK001_S009_PAGE_LABEL_XPATH = "//div[text()='INK001_S009']";
    String SAVE_BUTTON = "INK001_S009_B003";
    String AMOUNT_INPUT = "INK001_S009_U004";
    String TITLE_INPUT = "INK001_S009_E004";

    @TypeInto(value = AMOUNT_INPUT, clear = true)
    INK001_S009_ChangeAuthorizationForDirectDebitPage fillAmount(String amount);

    @TypeInto(value = TITLE_INPUT, clear = true)
    INK001_S009_ChangeAuthorizationForDirectDebitPage fillTitle(String title);

    @Click(SAVE_BUTTON)
    PSP004_S001_PrintPage clickSave();

}