package cz.moneta.test.dsl.ib.payment.foreign;

import cz.moneta.test.dsl.ib.IbPageFlow;
import cz.moneta.test.dsl.ib.components.AccountsAndTransactionsSubmenu;
import cz.moneta.test.dsl.ib.components.MainMenu;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.ib.payment.foreign.ForeignPaymentOrderConfirmationPage.LIST_PAYMENT_ORDERS_BUTTON;

@Wait(value = LIST_PAYMENT_ORDERS_BUTTON)
public interface ForeignPaymentOrderConfirmationPage extends IbPageFlow<ForeignPaymentOrderConfirmationPage>, MainMenu, AccountsAndTransactionsSubmenu {

    String LIST_PAYMENT_ORDERS_BUTTON = "//img[contains(@src, 'prehled_prikazu')]";

    @Click(LIST_PAYMENT_ORDERS_BUTTON)
    ForeignPaymentOrderConfirmationPage clickListPaymentOrders();
}
