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

import cz.moneta.test.dsl.hypos.pages.HyposPageFlow;
import cz.moneta.test.dsl.hypos.pages.contract.realty.SearchRealtyPage;
import cz.moneta.test.harness.context.StoreAccessor;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.hypos.pages.realty.RealtyMenuPage.REALTY_SEARCH_BUTTON;

@Wait(REALTY_SEARCH_BUTTON)
public interface RealtyMenuPage extends HyposPageFlow<RealtyMenuPage>, StoreAccessor {
    String REALTY_SEARCH_BUTTON = "//a[contains(@href,'realty.search&')]";

    @Click(REALTY_SEARCH_BUTTON)
    SearchRealtyPage clickRealtySearchPage();
}