package cz.moneta.test.dsl.ufo.ufoframework.pages;

import cz.moneta.test.dsl.ufo.ufoframework.pages.othererika.REL001_S001_ErikaMainPage;
import cz.moneta.test.dsl.ufo.ufoframework.pages.otherjarda.REL909_S001_OtherJardaPage;
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 cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.ufoframework.pages.HLP901_S001_MainMenuPage.PAGE_LABEL_XPATH;

@Wait(value = PAGE_LABEL_XPATH, by = Lookup.XPATH)
public interface HLP901_S001_MainMenuPage extends WebFlow<HLP901_S001_MainMenuPage> {

    String PAGE_LABEL_XPATH = "//div[@id='XXX999_T001_L007' and text()='HLP901_S001']";
    String OTHER_JARDA_BUTTON = "HLP901_S001_B007";
    String OTHER_ERIKA_BUTTON = "HLP901_S001_B008";

    @Click(OTHER_ERIKA_BUTTON)
    REL001_S001_ErikaMainPage clickOtherErika();

    @Click(OTHER_JARDA_BUTTON)
    REL909_S001_OtherJardaPage clickOtherJarda();

}
