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.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.INF013_OBR002_001_ContractInvestmentFormSigningPage.*;

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

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

    @Click(SIGNED_BUTTON)
    TIS046_S001_DocumentsProvidedToClientPage clickSignedButton();
}
