package cz.moneta.test.dsl.ufo.operations.ufoOperations.businessSupport;

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

public interface DOK704_S001_SearchingItems extends WebFlow<DOK704_S001_SearchingItems> {

    String DOCUMENT_DETAIL_CHECKBOX = "DOK704_S001_G001-0";
    String DETAIL_ITEM_BUTTON = "DOK704_S001_P003";

    @Wait(value = DOCUMENT_DETAIL_CHECKBOX, explicitWaitSeconds = 5, until = Until.VISIBLE)
    @Click(DOCUMENT_DETAIL_CHECKBOX)
    DOK704_S001_SearchingItems clickDocumentDetailCheckBox();

    @Wait(value = DETAIL_ITEM_BUTTON, until = Until.VISIBLE)
    @Click(DETAIL_ITEM_BUTTON)
    DOK705_S001_ItemDetail clickDetailItem();

}