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

import cz.moneta.test.dsl.ufo.banka.pages.products.one.click.BAL020_OBR002_PrintGeneralContractPage;
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.TIS051_OBR001_ContractDocumentationPage.CONTINUE_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.common.pages.TIS051_OBR001_ContractDocumentationPage.PAGE_ID_XPATH;

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

    String PAGE_ID_XPATH = "//div[text()='TIS051_OBR001_003_(S005)']";
    String CONTINUE_BUTTON = "OBR001_S001_B003";

    @Click(CONTINUE_BUTTON)
    BAL020_OBR002_GeneralContractAndDispositionPage continueToGeneralContractAndDispositionPage();

    @Click(CONTINUE_BUTTON)
    BAL020_OBR002_PrintGeneralContractPage continueToPrintGeneralContractPage();

}
