package cz.moneta.test.dsl.ufo.banka.pages.products.sme;

import cz.moneta.test.dsl.ufo.banka.pages.cards.debit.OBR003_S001_ClientContractSignPage;
import cz.moneta.test.dsl.ufo.banka.pages.products.current.account.BPP001_S001_DocumentationSendPage;
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.products.sme.BPP003_S001_SendingDocumentsToIBSB.LABEL_PAGE_XPATH;

@Wait(value = LABEL_PAGE_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface BPP003_S001_SendingDocumentsToIBSB extends WebFlow<BPP001_S001_DocumentationSendPage> {

    String LABEL_PAGE_XPATH = "//div[text()='BPP003_S001']";
    String SEND_TO_IB_SB_BUTTON = "BPP003_S001_B002";

    @Click(SEND_TO_IB_SB_BUTTON)
    OBR003_S001_ClientContractSignPage clickSendToIBSB();

}
