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.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.hypos.pages.structure.StructureAppraisementFeePage.SEARCH_BUTTON;

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

    @CheckElementPresent(CONTRACTS)
    StructureAppraisementFeePage checkContracts();

    @Click(SEARCH_BUTTON)
    StructureAppraisementFeePage clickSearchButton();
}