diff --git a/packages/app-testing/src/Account/index.js b/packages/app-testing/src/Account/index.js
index 9673ca71d2..b4806bf4ab 100644
--- a/packages/app-testing/src/Account/index.js
+++ b/packages/app-testing/src/Account/index.js
@@ -20,7 +20,13 @@ type Props = BaseProps & {
};
export default function Account ({ className, label, subject, style }: Props) {
- const AccountBalance = withObservableParams(Balance, subject);
+ const AccountBalance = withObservableParams(Balance, subject, (pair: KeyringPair) => {
+ if (!pair) {
+ return new Uint8Array([]);
+ }
+
+ return pair.publicKey();
+ });
return (
+
);
diff --git a/packages/app-testing/src/CallDisplay/index.js b/packages/app-testing/src/CallDisplay/index.js
index 9444d6904c..0e70fe7ea3 100644
--- a/packages/app-testing/src/CallDisplay/index.js
+++ b/packages/app-testing/src/CallDisplay/index.js
@@ -29,6 +29,9 @@ function CallDisplay ({ className, style, value }: Props) {
}
const Component = COMPONENTS[value] || ErrorComponent;
+ const onSubmit = () => {
+ console.log('getValues', Component.getValues());
+ };
return (