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.*;

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

@Wait(PAGE_TITLE)
public interface RolesAdministrationPage extends FortePageFlow<RolesAdministrationPage>, AppointmentsMenu {
    String PAGE_TITLE = CONTENT_DIV + "//h3[text()='Správa rolí']";
    String ROLES_TABLE = CONTENT_DIV + "//form[@action='/appointments/role/']";

    @CheckElementPresent(ROLES_TABLE)
    RolesAdministrationPage checkTablePresents();
}