package cz.moneta.test.dsl.forte.pages.portal;

import cz.moneta.test.dsl.forte.FortePageFlow;
import cz.moneta.test.dsl.forte.components.PortalMenu;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.forte.pages.portal.PortalMainPage.FAST_ITEMS_DIV;
import static cz.moneta.test.dsl.forte.pages.portal.PortalMainPage.HOME_TITLE;
import static cz.moneta.test.dsl.forte.pages.portal.PortalMainPage.USEFUL_ITEMS_DIV;

@Wait({HOME_TITLE, USEFUL_ITEMS_DIV, FAST_ITEMS_DIV})
public interface PortalMainPage extends FortePageFlow<PortalMainPage>, PortalMenu {
    String HOME_TITLE = "//title[text()='FORTE ']";

    String CONTENT_DIV = "//div[@class='content_data']";
    String USEFUL_ITEMS_DIV = CONTENT_DIV + "//div[@class='useful-items']";
    String FAST_ITEMS_DIV = CONTENT_DIV + "//div[@class='fast-items']";

}