package cz.moneta.test.dsl.ufo.banka.pages.products.one.click;

import cz.moneta.test.dsl.ufo.banka.pages.loans.CAS001_S001_ScoringPage;
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.one.click.BAL023_S001_RecapitulationOfClientDataPage.*;

@Wait(value = BAL023_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface BAL023_S001_RecapitulationOfClientDataPage extends WebFlow<BAL023_S001_RecapitulationOfClientDataPage> {
    String BAL023_S001_PAGE_LABEL_XPATH = "//div[text()='BAL023_S001']";

    String CONTINUE_BUTTON = "BAL023_S001_B004";

    @Click(CONTINUE_BUTTON)
    CAS001_S001_ScoringPage clickContinueToScoringPage();
}
