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

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.TIS051_OBR001_ClientFinalSignatureConfirmationPage;
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.insurance.OBR001_PrintDispositionsPage.PAGE_ID_XPATH;

@Wait(value = PAGE_ID_XPATH, by = Lookup.XPATH)
public interface OBR001_PrintDispositionsPage extends WebFlow<OBR001_PrintDispositionsPage> {

    String PAGE_ID_XPATH = "//div[contains(text(), 'TIS011_OBR001_002')]";
    String POSTPONE_PRINT_BUTTON = "OBR001_S001_B003";

    @Click(POSTPONE_PRINT_BUTTON)
    TIS051_OBR001_ClientFinalSignatureConfirmationPage clickPostponePrintButtonAndContinueToProductsListPage();
}
