package cz.moneta.test.dsl.fortelight.pages;

import cz.moneta.test.dsl.fortelight.ForteLightPageFlow;
import cz.moneta.test.dsl.fortelight.components.HomePageMenu;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.fortelight.pages.ForteLightHomePage.FAST_ITEMS_DIV;
import static cz.moneta.test.dsl.fortelight.pages.ForteLightHomePage.IMPORTANT_NOTE_DIV;
import static cz.moneta.test.dsl.fortelight.pages.ForteLightHomePage.USEFUL_ITEMS_DIV;

@Wait({IMPORTANT_NOTE_DIV, USEFUL_ITEMS_DIV, FAST_ITEMS_DIV})
public interface ForteLightHomePage extends ForteLightPageFlow<ForteLightHomePage>, HomePageMenu {
    String CONTENT_DIV = "//div[@class='content_data']";
    String IMPORTANT_NOTE_DIV = CONTENT_DIV + "//div[@class='importantNote']";
    String USEFUL_ITEMS_DIV = CONTENT_DIV + "//div[@class='useful-items']";
    String FAST_ITEMS_DIV = CONTENT_DIV + "//div[@class='fast-items']";
}
