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

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

import static cz.moneta.test.dsl.fortelight.pages.attendance.TimesheetPage.PAGE_TITLE;

@Wait(PAGE_TITLE)
public interface TimesheetPage extends ForteLightPageFlow<TimesheetPage>, AttendanceMenu {
    String CONTENT_DIV = "//div[@class='content_data']";
    String PAGE_TITLE = CONTENT_DIV + "//h3[text()='Výkaz docházky za období']";

    @CheckElementContent(PAGE_TITLE)
    TimesheetPage checkPageTitle(String pageTitle);
}
