package cz.moneta.test.dsl.cashman.pages.menu_deposit;

import cz.moneta.test.dsl.cashman.pages.CashmanHomePage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

public interface CashmanDepositCzkPragueList extends WebFlow<CashmanDepositCzkPragueList> {
    String ORDER_ID_TABLE = "//tbody//a[contains(text(), '%s')]";
    String HOME_PAGE = "//a[@href='/domu']";

    @Wait(value = ORDER_ID_TABLE, isStringDynamicXpath = true)
    CashmanDepositCzkPragueList waitForOrderIdPresence(String orderId);

    @Click(HOME_PAGE)
    CashmanHomePage clickOnHomePage();
}
