package cz.moneta.test.dsl.monetaportal.loans;

import cz.moneta.test.dsl.monetaportal.online.OnlineUDCLoanPage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.monetaportal.loans.GetUDCLoanPage.NAVIBLOCKS_FQ_BUTTON;

@Wait(NAVIBLOCKS_FQ_BUTTON)
public interface GetUDCLoanPage extends WebFlow<GetUDCLoanPage> {
    //NAVIBLOCKS
    String NAVIBLOCKS_FQ_BUTTON = "//div[contains(@id, 'JournalContentPortlet')]//div[not(contains(@class, 'phone-visible'))]/a[contains(@href, 'online.moneta.cz/konsolidace?')]";

    @Click(NAVIBLOCKS_FQ_BUTTON)
    OnlineUDCLoanPage clickFQ();
}