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

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.TIS011_OBR001_SuspendDispositionPrintPage;
import cz.moneta.test.dsl.ufo.banka.pages.ib.ADC001_S001_IbPasswordKeyPage;
import cz.moneta.test.dsl.ufo.banka.pages.products.current.account.BUF001_S001_CurrentAccountPage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.banka.pages.main.OBR001_FlexiCreditRecommendationPage.CONTINUE_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.main.OBR001_FlexiCreditRecommendationPage.PAGE_ID_XPATH;

@Wait(value = CONTINUE_BUTTON, waitSecondsForElement = 80)
@Wait(value = PAGE_ID_XPATH, waitSecondsForElement = 80, by = Lookup.XPATH)
public interface OBR001_FlexiCreditRecommendationPage extends WebFlow<BUF001_S001_CurrentAccountPage> {

    String PAGE_ID_XPATH = "//div[text()='BAL001_OBR001_005_(S016)']";
    String CONTINUE_BUTTON = "OBR001_S001_B003";

    @Click(CONTINUE_BUTTON)
    ADC001_S001_IbPasswordKeyPage clickContinueToIbPasswordKeyPage();

    @Click(CONTINUE_BUTTON)
    TIS011_OBR001_SuspendDispositionPrintPage clickContinueToSuspendDispositionPrintPage();

    @Click(CONTINUE_BUTTON)
    TIS011_OBR001_PrintOptionsPage clickContinueToPrintOptionsPage();

}