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

import cz.moneta.test.dsl.monetaportal.components.Naviblocks;
import cz.moneta.test.dsl.monetaportal.components.calculators.LoanCalculator;
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.components.calculators.LoanCalculator.CALCULATOR_RESULT_SECTION_LOAN_BUTTON;

@Wait(CALCULATOR_RESULT_SECTION_LOAN_BUTTON)
public interface HypoLoanPage extends WebFlow<HypoLoanPage>, LoanCalculator, Naviblocks {

    //Hypoloan calculator
    String CALCULATOR_BANNER_SECTION_BUTTON = "//div[@class='b-product-claim__text-side']//a[@class='btn btn-primary ']";

    @Click(CALCULATOR_BANNER_SECTION_BUTTON)
    HypoLoanPage clickHypoCalculatorSection();
}