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

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.common.pages.INK001_OBR001_004_IsDocumentedSignedCorrectlyPage.INK001_OBR001_004_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.common.pages.INK001_OBR001_004_IsDocumentedSignedCorrectlyPage.OBR001_S001_PAGE_LABEL_XPATH;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, INK001_OBR001_004_PAGE_LABEL_XPATH}, waitSecondsForElement = 80, by = Lookup.XPATH)
public interface INK001_OBR001_004_IsDocumentedSignedCorrectlyPage extends WebFlow<INK001_OBR001_004_IsDocumentedSignedCorrectlyPage> {
    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_001']";
    String SIGNED_BUTTON = "OBR001_S001_B003";
    String INK001_OBR001_004_PAGE_LABEL_XPATH = "//div[text()='INK001_OBR001_004']";

    @Click(SIGNED_BUTTON)
    INK001_OBR001_007_InkasoNonVerifiedIcbsPage clickSigned();
}
