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

import cz.moneta.test.dsl.ufo.banka.pages.fon.DMS001_S001_ScanDocumentsPage;
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.fop.CIF001_S018_CompanySignatureCifConfirmationPage.CIF001_S018_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.fop.CIF001_S018_CompanySignatureCifConfirmationPage.CONTINUE_BUTTON;

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

    String CIF001_S018_PAGE_LABEL_XPATH = "//div[text()='CIF001_S018']";
    String CONTINUE_BUTTON = "CIF001_S018_B001";

    @Click(CONTINUE_BUTTON)
    DMS001_S001_ScanDocumentsPage clickConfirmSignatureAndStartScanning();

    @Click(CONTINUE_BUTTON)
    HKO101_S001_MainClientPage clickContinue();

}
