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

import cz.moneta.test.harness.support.mobile.MobileLookup;
import cz.moneta.test.harness.support.mobile.android.AndroidClick;
import cz.moneta.test.harness.support.mobile.android.AndroidWait;
import cz.moneta.test.harness.support.mobile.ios.IosClick;
import cz.moneta.test.harness.support.mobile.ios.IosWait;
import cz.moneta.test.harness.support.mobile.share.MobileFlow;

@AndroidWait(value = FinishActivationView.ANDROID_WAITING_FOR_SMS_TEXT, by = MobileLookup.ANDROID_TEXT)
@IosWait(FinishActivationView.IOS_WAITING_FOR_SMS_TEXT)
public interface FinishActivationView extends MobileFlow<FinishActivationView> {
    String ANDROID_WAITING_FOR_SMS_TEXT = "Vyčkejte nyní na SMS zprávu s \"Mobilním klíčem\" a zadejte jej do Internet Banky. Následně pak zvolte \"Pokračovat\"";
    String ANDROID_ACTIVATION_COMPLETE_BTN = "btn_registration_complete_continue";

    String IOS_WAITING_FOR_SMS_TEXT = "Vyčkejte nyní na SMS zprávu s „Mobilním klíčem“ a zadejte jej do Internet Banky. Následně pak zvolte „Pokračovat“.";
    String IOS_ACTIVATE_COMPLETE_BTN = "Pokračovat";

    @AndroidWait(ANDROID_ACTIVATION_COMPLETE_BTN)
    @AndroidClick(ANDROID_ACTIVATION_COMPLETE_BTN)
    @IosWait(value = IOS_ACTIVATE_COMPLETE_BTN, by = MobileLookup.IOS_NAME)
    @IosClick(value = IOS_ACTIVATE_COMPLETE_BTN, by = MobileLookup.IOS_NAME)
    ActivatedSmartBankingView tapOnCompleteActivationButton();

}
