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

import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.products.sme.KUL008_S001_ModulationPage.KUL008_S001_PAGE_LABEL_XPATH;

@Wait(value = KUL008_S001_PAGE_LABEL_XPATH, waitSecondsForElement = 120, by = Lookup.XPATH)
public interface KUL008_S001_ModulationPage extends WebFlow<KUL008_S001_ModulationPage> {
    String KUL008_S001_PAGE_LABEL_XPATH = "//div[text()='KUL008_S001']";

    String DOCUMENT_SCANNING_BUTTON = "KUL008_S001_B001";
    String COMPLETE_COMMITMENT_INFO_BUTTON = "KUL008_S001_B017";

    @Wait(value = DOCUMENT_SCANNING_BUTTON, until = Until.VISIBLE, waitSecondsForElement = 60)
    @Click(DOCUMENT_SCANNING_BUTTON)
    KUL008_S001_ModulationPageTransitions clickDocumentScanning();

    @Click(COMPLETE_COMMITMENT_INFO_BUTTON)
    KUL008_S001_ModulationPageTransitions clickCompleteCommitmentInfoButton();
}
