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

import cz.moneta.test.dsl.monetaportal.components.FooterCallFree;
import cz.moneta.test.dsl.monetaportal.components.Naviblocks;
import cz.moneta.test.dsl.monetaportal.components.calculators.BuildingSavingsCalculator;
import cz.moneta.test.dsl.monetaportal.loans.BridgingLoanPage;
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.BuildingSavingsCalculator.CALCULATOR_BOX;

@Wait(CALCULATOR_BOX)
public interface BuildingSavingsPage extends WebFlow<BuildingSavingsPage>, BuildingSavingsCalculator, Naviblocks, FooterCallFree {

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

    @Click(CALCULATOR_BANNER_SECTION_BUTTON)
    BridgingLoanPage clickBuildingSavingNaviblocksSection();
}