improve test migrate Cesium wallet identity: check if balance is well transfered

This commit is contained in:
poka 2022-08-29 20:51:45 +02:00
parent 37dee7f866
commit a8dbf79eaa
4 changed files with 7 additions and 3 deletions

View File

@ -51,8 +51,7 @@ void main() async {
await waitFor('3', exactMatch: true);
await waitFor('Membre validé !');
// TODO: fix batch for transfertAll
// await waitFor('100.0 $currencyName');
await waitFor('99.98 $currencyName');
}, timeout: testTimeout());
}

View File

@ -40,7 +40,7 @@ class WalletOptions extends StatelessWidget {
// SubstrateSdk sub = Provider.of<SubstrateSdk>(context, listen: false);
// sub.spawnBlock();
// sub.spawnBlock(0, 25);
// sub.spawnBlock(0, 20);
log.d(walletOptions.address.text);

View File

@ -36,6 +36,7 @@ class WalletsHome extends StatelessWidget {
myWalletProvider.listWallets =
myWalletProvider.readAllWallets(currentChestNumber);
return WillPopScope(
onWillPop: () {
// myWalletProvider.pinCode = myWalletProvider.mnemonic = '';

View File

@ -1,3 +1,5 @@
import 'dart:io';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/services.dart';
import 'package:gecko/globals.dart';
@ -34,6 +36,8 @@ class TransactionInProgress extends StatelessWidget {
// Map jsonResult;
final result = sub.transactionStatus;
// sub.spawnBlock();
log.d(walletViewProvider.address!);
final from = fromAddress ?? myWalletProvider.getDefaultWallet().name!;