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

import cz.moneta.test.dsl.ufo.banka.pages.main.PKU001_S002_CreatePaymentOrderPage;
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;

@Wait(value = PKU001_OBR001_TransactionVerifiedPage.PAGE_ID_XPATH, waitSecondsForElement = 90, by = Lookup.XPATH)
public interface PKU001_OBR001_TransactionVerifiedPage extends WebFlow<PKU001_OBR001_TransactionVerifiedPage> {

    String OK_BUTTON = "OBR001_S001_B002";
    String PAGE_ID_XPATH = "//div[text()='PKU001_OBR001_004_(S001)']";

    @Click(OK_BUTTON)
    PKU001_S002_CreatePaymentOrderPage clickOkButton();
}
