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.StructureUw2Page.CONTRACTS;

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

    @CheckElementPresent(CONTRACTS)
    StructureUw2Page checkContracts();
}