package cz.moneta.test.dsl.hypos.pages.tasklist;

import cz.moneta.test.dsl.hypos.pages.HyposPageFlow;
import cz.moneta.test.harness.context.StoreAccessor;
import cz.moneta.test.harness.support.web.CheckElementPresent;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.hypos.pages.tasklist.TaskDetailPage.PAGE_TITLE;

@Wait(PAGE_TITLE)
public interface TaskDetailPage extends HyposPageFlow<TaskDetailPage>, StoreAccessor {
    String PAGE_TITLE = "//h1[text()='Detail úkolu']";

    @CheckElementPresent(PAGE_TITLE)
    TaskDetailPage checkPageTitle();
}