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.DMS004_OBR001_ConfirmationPage.PAGE_ID;
import static cz.moneta.test.dsl.ufo.banka.pages.common.pages.DMS004_OBR001_ConfirmationPage.PAGE_NAME;

@Wait(PAGE_ID)
@Wait(value = PAGE_NAME, by = Lookup.XPATH, waitSecondsForElement = 40)
public interface DMS004_OBR001_ConfirmationPage extends WebFlow<DMS004_OBR001_ConfirmationPage> {

    String PAGE_ID = "OBR001_S001_X002";
    String PAGE_NAME = "//div[text()='DMS004_OBR001_001']";
    String OK_BUTTON = "OBR001_S001_B002";

    @Click(OK_BUTTON)
    TIS051_OBR001_ClientFinalSignatureConfirmationPage clickOK();
}