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

import cz.moneta.test.harness.support.web.*;

public interface EMA701_S001_ManualApprovingQueue extends WebFlow<EMA701_S001_ManualApprovingQueue> {
    String QUEUE_BUTTON = "EMA701_S001_C004";
    String SUBMIT = "EMA701_S001_B009";
    String LOADER = "gwt-Image";
    String EDIT_MANUAL_APPROVING_BY_BIRTHNUMBER = "//div[text()='%s']/../..//img[@id='EMA701_S001_P002-69']";

    @Select(value = QUEUE_BUTTON)
    @Click(value = SUBMIT, andWait = @Wait(value = LOADER, by = Lookup.CLASSNAME, until = Until.GONE))
    EMA701_S001_ManualApprovingQueue selectQueueAndSubmit(String type);

    @Click(value = EDIT_MANUAL_APPROVING_BY_BIRTHNUMBER, isStringDynamicXpath = true)
    EMA799_S001_Detail clickEditManualApproving(String birthNumber);

}