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

import cz.moneta.test.dsl.hypos.pages.HyposPageFlow;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.hypos.pages.contract.realty.ApprovedSupervisionCreatedPage.BACK_TO_UNIT_DETAIL_LINK;

@Wait(BACK_TO_UNIT_DETAIL_LINK)
public interface ApprovedSupervisionCreatedPage extends HyposPageFlow<ApprovedSupervisionCreatedPage> {
    String BACK_TO_UNIT_DETAIL_LINK = "//a[contains(text(),'návrat na detail celku')]";

    @Click(BACK_TO_UNIT_DETAIL_LINK)
    UnitDetailPage clickBackToUnitDetailLink();
}
