package cz.moneta.test.dsl.ufo.banka.pages.products.mutual.funds;

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.TIS046_S001_DocumentsProvidedToClientPage;
import cz.moneta.test.dsl.ufo.banka.pages.main.BAL001_S008_SummaryStartDocumentsPage;
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.products.mutual.funds.INF002_OBR002_001_InvestmentFormSigningPage.*;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, INF002_OBR002_001_PAGE_LABEL_XPATH}, by = Lookup.XPATH, waitSecondsForElement = 100)
@Wait(value = {SIGNED_BUTTON}, waitSecondsForElement = 100)
public interface INF002_OBR002_001_InvestmentFormSigningPage extends WebFlow<INF002_OBR002_001_InvestmentFormSigningPage> {

    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_S001']";
    String INF002_OBR002_001_PAGE_LABEL_XPATH = "//div[text()='INF002_OBR002_001']";
    String SIGNED_BUTTON = "OBR001_S001_B003";

    @Click(SIGNED_BUTTON)
    INF002_S002_InvestmentFormEvaluation clickSignedButton();

    @Click(SIGNED_BUTTON)
    TIS046_S001_DocumentsProvidedToClientPage clickSignedButtonToDocumentsProvidedPage();

    @Click(SIGNED_BUTTON)
    BAL001_S008_SummaryStartDocumentsPage clickSignedButtonToSummaryFoundationPage();
}
