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

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_S002_InvestmentFormEvaluation.CONTINUE_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.products.mutual.funds.INF002_S002_InvestmentFormEvaluation.INF002_S002_PAGE_LABEL_XPATH;

@Wait(value = INF002_S002_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 30)
@Wait(value = {CONTINUE_BUTTON}, waitSecondsForElement = 30)
public interface INF002_S002_InvestmentFormEvaluation extends WebFlow<INF002_S002_InvestmentFormEvaluation> {

    String INF002_S002_PAGE_LABEL_XPATH = "//div[text()='INF002_S002']";
    String CONTINUE_BUTTON = "INF002_S002_B002";

    @Wait(CONTINUE_BUTTON)
    @Click(CONTINUE_BUTTON)
    INF001_S002_ContractData clickContinueButton();

}
