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

    String MY_TEMPLATES = "//android.widget.TextView[@text = 'Moje šablony']";
    String ADD_TEMPLATE = "btn_loader_empty_action";

    @Click(value = ADD_TEMPLATE)
    SmartBankingTemplateCompletion clickOnAddTemplate();

}
