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

import cz.moneta.test.dsl.ufo.banka.pages.main.HKO101_S001_MainClientPage;
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.common.pages.KUL045_OBR001_WantToStartExpresBusinessPage.PAGE_ID_XPATH;

@Wait(value = PAGE_ID_XPATH, waitSecondsForElement = 40, by = Lookup.XPATH)
public interface KUL045_OBR001_WantToStartExpresBusinessPage extends WebFlow<KUL045_OBR001_WantToStartExpresBusinessPage> {

    String CONTINUE_BUTTON = "OBR001_S001_B002";
    String SKIP_BUTTON = "OBR001_S001_B003";
    String PAGE_ID_XPATH = "//div[text()='KUL045_OBR001_001']";

    @Click(CONTINUE_BUTTON)
    HKO101_S001_MainClientPage clickNoExpresBusiness();

    @Click(CONTINUE_BUTTON)
    HKO101_S001_MainClientPage clickSkip();
}
