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.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_DIV;

@Wait(NAVIBLOCKS_DIV)
public interface HoldingFundsPage extends WebFlow<HoldingFundsPage>, Naviblocks, FooterCallFree {

    //Holding funds page
    String HOLDING_FUNDS_SECTION_BUTTON = "//div[@class='b-product-claim__text-side']//a[@class='btn btn-primary ']";
    String NAVIBLOCKS_SECTION_BUTTON = "//div[@class='b-product-claim__text-side']//a[@class='btn btn-secondary ']";

    @Click(HOLDING_FUNDS_SECTION_BUTTON)
    HoldingFundsPage clickHoldingFundsPageFundsSection();

    @Click(NAVIBLOCKS_SECTION_BUTTON)
    Naviblocks clickHoldingFundsPageNaviblocksSection();
}