package cz.moneta.test.dsl.ufo.banka.pages.search;

import cz.moneta.test.dsl.ufo.banka.UfoBankaPageFlow;
import cz.moneta.test.dsl.ufo.banka.pages.menu.vertical.VerticalMenu;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.ufo.banka.pages.search.KAL001_S001_CalculatorsPage.EXPRES_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.search.KAL001_S001_CalculatorsPage.KAL001_S001_PAGE_LABEL_XPATH;

@Wait(value = KAL001_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 90)
@Wait(value = {EXPRES_BUTTON}, waitSecondsForElement = 90)
public interface KAL001_S001_CalculatorsPage extends UfoBankaPageFlow<KAL001_S001_CalculatorsPage>, VerticalMenu {
    String KAL001_S001_PAGE_LABEL_XPATH = "//div[text()='KAL001_S001']";
    String EXPRES_BUTTON = "KAL001_S001_B024";

    @Click(EXPRES_BUTTON)
    KAL003_S006_ExpresCalculator chooseExpresCalculator();
}
