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.ProductTypesPage.PAGE_TITLE;

@Wait(PAGE_TITLE)
public interface ProductTypesPage extends FortePageFlow<ProductTypesPage>, AppointmentsMenu {
    String PAGE_TITLE = CONTENT_DIV + "//h3[text()='Typ produktu']";
    String PRODUCTS_TABLE = CONTENT_DIV + "//form[@action='/appointments/producttype/']";

    @CheckElementPresent(PRODUCTS_TABLE)
    ProductTypesPage checkTablePresents();
}