package cz.moneta.test.dsl.ufo.operations.client;

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.operations.client.EssDetailPage.PAGE_TITLE;

@Wait(value = PAGE_TITLE, by = Lookup.XPATH)
public interface EssDetailPage extends WebFlow<EssDetailPage> {
    String PAGE_TITLE = "//div[text()='Členové ESS']";
    String ESS_MEMBER_EXPOSURE_DETAIL_LINK = "ESS702_S001_B002";

    @Click(ESS_MEMBER_EXPOSURE_DETAIL_LINK)
    EssMemberExposurePage clickEssMemberExposureDetailLink();
}