package cz.moneta.test.dsl.ib.accountsandtransactions.sipopayment;

import cz.moneta.test.dsl.ib.IbPageFlow;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.TypeInto;
import cz.moneta.test.harness.support.web.Wait;
import static cz.moneta.test.dsl.ib.accountsandtransactions.sipopayment.SipoOrderAuthorizePage.SMS_CODE_IPUT;

@Wait(value = SMS_CODE_IPUT)
public interface SipoOrderAuthorizePage extends IbPageFlow<SipoOrderAuthorizePage> {
    String SIGN_BUTTON = "//a[@id='sendBtn']";
    String SMS_CODE_IPUT = "//input[@id='SMSCode']";

    @TypeInto(SMS_CODE_IPUT)
    SipoOrderAuthorizePage typeSmsCode(String smsCode);
    @Click(SIGN_BUTTON)
    SipoOrderConfirmationPage clickSign();
}