package cz.moneta.test.dsl.ib.settings.smartbanka;

import cz.moneta.test.dsl.ib.IbPageFlow;
import cz.moneta.test.dsl.ib.components.MobileKeyConfirmation;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.ib.settings.smartbanka.DeviceRegisteredWizard.DEVICE_INFO_TABLE;

@Wait(value = DEVICE_INFO_TABLE, by = Lookup.XPATH)
public interface DeviceRegisteredWizard extends IbPageFlow<DeviceRegisteredWizard>, MobileKeyConfirmation<DeviceRegisteredWizard> {
    String DEVICE_INFO_TABLE = "//table[contains(@id, 'smartBankRegistration')]";

    SuccessRegisteredMobileDevice onSuccessRegisteredMobileDevice();
}