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

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.PSI001_S051_DraftContractCopyPage;
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.requests.PSI001_S050_PreContractualInformationPrintedPage.CONTINUE_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.requests.PSI001_S050_PreContractualInformationPrintedPage.PSI001_S050_PAGE_LABEL_XPATH;

@Wait(value = PSI001_S050_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 40)
@Wait(value = CONTINUE_BUTTON, waitSecondsForElement = 40)
public interface PSI001_S050_PreContractualInformationPrintedPage extends WebFlow<PSI001_S050_PreContractualInformationPrintedPage> {
    String PSI001_S050_PAGE_LABEL_XPATH = "//div[text()='PSI001_S050']";
    String CONTINUE_BUTTON = "PSI001_S050_B002";

    @Click(CONTINUE_BUTTON)
    PSI001_S051_DraftContractCopyPage continueToPrintCopyOfContractProposalPage();
}
