package cz.moneta.test.dsl.ufo.banka.pages.fop;

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.OBR001_S001_PrintInstructionPage;
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.banka.pages.fop.CIF010_S002_AssociatedFopDataPage.*;

@Wait(value = CIF010_S002_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
@Wait(SEND_BUTTON)
public interface CIF010_S002_AssociatedFopDataPage extends WebFlow<CIF010_S002_AssociatedFopDataPage> {
    String CIF010_S002_PAGE_LABEL_XPATH = "//div[text()='CIF010_S002']";

    String SEND_BUTTON = "CIF010_S002_B002";

    @Click(SEND_BUTTON)
    OBR001_S001_PrintInstructionPage clickSendToPrintInstructionsPage();
}
