package cz.moneta.test.dsl.mobile.smartbanking.templates;

import cz.moneta.test.dsl.mobile.smartbanking.SbViewFlow;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;

@Wait(value = SmartBankingTemplatePage.MY_TEMPLATES, by = Lookup.XPATH)
public interface SmartBankingReturnMyMoney extends SbViewFlow<SmartBankingReturnMyMoney> {

    String MY_TEMPLATES = "//android.widget.TextView[@text = 'Moje šablony']";
    String RETURN_MY_MONEY = "//android.widget.TextView[@text = 'Mé peníze']";

    @Click(value = RETURN_MY_MONEY, by = Lookup.XPATH)
    SmartBankingReturnMyMoney clickOnMyMoney();

}
