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

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

import static cz.moneta.test.dsl.forte.pages.branches.MmbBranchDetailMapPage.MAP_CANVAS;
import static cz.moneta.test.dsl.forte.pages.branches.MmbBranchDetailMapPage.PAGE_TITLE;

@Wait({PAGE_TITLE, MAP_CANVAS})
public interface MmbBranchDetailMapPage extends FortePageFlow<MmbBranchDetailMapPage>, BranchesMenu { // TODO: dodělat a přejmenovat
    String PAGE_TITLE = CONTENT_DIV + "//h3[starts-with(text(), 'Mapa pobočky')]";
    String MAP_CANVAS = CONTENT_DIV + "//canvas";
}