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

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

@Wait(CALCULATOR_APPROVE_ONLINE_BUTTON)
public interface CreditCardPage extends WebFlow<CreditCardPage>, CreditCalculator, Naviblocks {

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

    @Click(CALCULATOR_BANNER_SECTION_BUTTON)
    CreditCardPage clickCreditOnlineSection();
}