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

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

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

    String CONTINUE_BUTTON = "OBR001_S001_B003";
    String POSTPONED_PRINTING_BUTTON = "OBR001_S001_B001";
    String PAGE_ID_XPATH = "//div[text()='TIS011_OBR001_002']";

    @Click(CONTINUE_BUTTON)
    TIS011_OBR001_SuspendDispositionPrintPageTransitions clickPrintEmpowermentNow();

    @Click(POSTPONED_PRINTING_BUTTON)
    TIS051_OBR001_ClientFinalSignatureConfirmationPage clickDoNotPrintEmpowermentNow();

    @Click(POSTPONED_PRINTING_BUTTON)
    BAL001_S008_SummaryStartDocumentsPage clickPostponedPrintingButton();

}
