package cz.moneta.test.dsl.ufo.banka.pages.products.sme;

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

import static cz.moneta.test.dsl.ufo.banka.pages.products.sme.SMA017_S001_DrawDownFeePage.SMA017_S001_PAGE_LABEL_XPATH;

@Wait(value = SMA017_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface SMA017_S001_DrawDownFeePage extends WebFlow<SMA017_S001_DrawDownFeePage> {
    String SMA017_S001_PAGE_LABEL_XPATH = "//div[text()='SMA017_S001']";
    String DRAW_DOWN_FOR_CREDIT_YES_RADIO = "SMA017_S001_R001_1";
    String DRAW_DOWN_FOR_CREDIT_NO_RADIO = "SMA017_S001_R001_0";
    String CONTINUE_BUTTON = "SMA017_S001_B001";

    @Click(value = DRAW_DOWN_FOR_CREDIT_YES_RADIO, jsClick = true)
    SMA017_S001_DrawDownFeePage clickDrawDownForCreditYes();

    @Click(value = DRAW_DOWN_FOR_CREDIT_NO_RADIO, jsClick = true)
    SMA017_S001_DrawDownFeePage clickDrawDownForCreditNo();

    @Click(CONTINUE_BUTTON)
    KUL012_S001_RequestedDocumentsPage clickContinue();

}
