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

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

    @CheckElementPresent(CONTRACTS)
    StructureFinancialExceptionPage checkContracts();
}