package cz.moneta.test.dsl.ufo.banka.pages.cards.credit;

import cz.moneta.test.dsl.ufo.banka.pages.loans.NEP002_S001_ApplicantPage;
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.cards.credit.NKK007_S005_FormalCheckPage.FORMAL_CHECK_PAGE_ID_XPATH;

@Wait(value = FORMAL_CHECK_PAGE_ID_XPATH, by = Lookup.XPATH)
public interface NKK007_S005_FormalCheckPage extends WebFlow<NKK007_S005_FormalCheckPage> {

    String FORMAL_CHECK_PAGE_ID_XPATH = "//div[text()='NKK007_S005']";
    String CONTINUE_BUTTON = "NKK007_S005_B001";

    @Click(CONTINUE_BUTTON)
    NEP002_S001_ApplicantPage clickFix();
}
