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

import cz.moneta.test.dsl.ufo.banka.pages.main.HKO101_S001_MainClientPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.products.sme.KUL071_S001_RequestForSMEPage.KUL071_S001_PAGE_LABEL_XPATH;

@Wait(value = KUL071_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface KUL071_S001_RequestForSMEPage extends WebFlow<KUL071_S001_RequestForSMEPage> {
    String KUL071_S001_PAGE_LABEL_XPATH = "//div[text()='KUL071_S001']";

    String YES_BUTTON = "KUL071_S001_B001";
    String PRINT_REQUEST_BUTTON = "KUL071_S001_B002";
    String RETURN_TO_HKO_BUTTON = "KUL071_S001_B005";

    @Click(PRINT_REQUEST_BUTTON)
    KUL071_S001_RequestForSMEPageTransitions clickPrintRequest();

    @Click(YES_BUTTON)
    KUL071_S001_RequestForSMEPageTransitions clickYes();

    @Click(RETURN_TO_HKO_BUTTON)
    HKO101_S001_MainClientPage clickReturnToHKO();
}
