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

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

@Wait(NAVIBLOCKS_W2C_BUTTON)
public interface CreditAccountPage extends WebFlow<CreditAccountPage>, 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)
    CreditAccountPage clickCreditOnlineSection();
}