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

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.PVX011_OBR001_ConfirmationOfSignatureOwnerEmpowermentPage;
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.fop.TIS005_S002_SignerSelectionPoPage.CONTINUE_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.fop.TIS005_S002_SignerSelectionPoPage.TIS005_S002_PAGE_LABEL_XPATH;

@Wait(value = TIS005_S002_PAGE_LABEL_XPATH, by = Lookup.XPATH)
@Wait(CONTINUE_BUTTON)
public interface TIS005_S002_SignerSelectionPoPage extends WebFlow<TIS005_S002_SignerSelectionPoPage> {

    String TIS005_S002_PAGE_LABEL_XPATH = "//div[text()='TIS005_S002']";
    String CONTINUE_BUTTON = "TIS005_S002_B001";

    @Click(CONTINUE_BUTTON)
    CIF001_S018_CompanySignatureCifConfirmationPage clickFopIsSigningAndContinueCifCreation();

    @Click(CONTINUE_BUTTON)
    PVX011_OBR001_ConfirmationOfSignatureOwnerEmpowermentPage clickOkOnDispositionSignaturePage();
}
