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 SmartBankingTemplateReturnEnd extends SbViewFlow<SmartBankingTemplateReturnEnd> {

    String MY_TEMPLATES = "//android.widget.TextView[@text = 'Moje šablony']";
    String RETURN_TEMPLATES_END = "//android.widget.ImageButton[@content-desc ='Přejít nahoru']";

    @Click(value = RETURN_TEMPLATES_END, by = Lookup.XPATH)
    SmartBankingReturnMyMoney clickOnTemplateReturnEnd();
}
