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

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

import static cz.moneta.test.dsl.forte.pages.appointments.ListOfEmptySlotsPage.PAGE_TITLE;

@Wait(PAGE_TITLE)
public interface ListOfEmptySlotsPage extends FortePageFlow<ListOfEmptySlotsPage>, AppointmentsMenu {
    String PAGE_TITLE = CONTENT_DIV + "//h3[text()='Seznam volných slotů na pobočkách']";
    String SLOTS_TABLE = CONTENT_DIV + "//form[@action='/appointments/branchplaces/']";

    @CheckElementPresent(SLOTS_TABLE)
    ListOfEmptySlotsPage checkTablePresents();
}