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

import cz.moneta.test.dsl.hypos.components.StructureMenu;
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.structure.StructureLetterPage.CONTRACTS;

@Wait(CONTRACTS)
public interface StructureLetterPage extends HyposPageFlow<StructureLetterPage>, StructureMenu, StoreAccessor {
    String CONTRACTS = "//table//tbody//td/a[contains(@href,'/')]";

    @CheckElementPresent(CONTRACTS)
    StructureLetterPage checkContracts();
}