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

import cz.moneta.test.dsl.ufo.banka.pages.main.BAL001_S008_SummaryStartDocumentsPage;
import cz.moneta.test.dsl.ufo.banka.pages.main.client.settings.TIS051_S001_DispositionGeneratePage;
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.PIP001_EnterIntoOtherInsurancePage.OBR001_S001_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.insurance.PIP001_EnterIntoOtherInsurancePage.PIP001_PAGE_LABEL_XPATH;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, PIP001_PAGE_LABEL_XPATH}, by = Lookup.XPATH)
public interface PIP001_EnterIntoOtherInsurancePage extends WebFlow<PIP001_EnterIntoOtherInsurancePage> {

    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_S001']";
    String PIP001_PAGE_LABEL_XPATH = "//div[contains(text(), 'PIP001_')]";
    String DO_NOT_CREATE_BUTTON = "OBR001_S001_B001";

    @Click(DO_NOT_CREATE_BUTTON)
    OBR001_PrintDispositionsPage clickFinishButtonAndContinueToPrintDispositionsPage();

    @Click(DO_NOT_CREATE_BUTTON)
    TIS051_S001_DispositionGeneratePage clickFinishButtonAndContinueToDispositionsPage();

    @Click(DO_NOT_CREATE_BUTTON)
    BAL001_S008_SummaryStartDocumentsPage clickFinishToSummaryDocumentsPage();
}
