mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
wip
This commit is contained in:
parent
7fd8097e42
commit
6a8b794963
2 changed files with 4 additions and 0 deletions
|
@ -220,6 +220,7 @@ const ElectrumSettings: React.FC = () => {
|
|||
setHost('');
|
||||
setPort(undefined);
|
||||
setSslPort(undefined);
|
||||
presentAlert({ message: loc.settings.electrum_saved });
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
@ -262,6 +263,7 @@ const ElectrumSettings: React.FC = () => {
|
|||
presentResetToDefaultsAlert().then(async result => {
|
||||
if (result) {
|
||||
await BlueElectrum.removePreferredServer();
|
||||
presentAlert({ message: loc.settings.electrum_saved });
|
||||
fetchData();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -96,6 +96,8 @@ describe('BlueWallet UI Tests - no wallets', () => {
|
|||
await element(by.text('electrum.blockstream.info')).tap();
|
||||
await sup('OK');
|
||||
await element(by.text('OK')).tap();
|
||||
await sup('OK');
|
||||
await element(by.text('OK')).tap();
|
||||
await element(by.id('ElectrumSettingsScrollView')).swipe('up', 'fast', 1); // in case emu screen is small and it doesnt fit
|
||||
await expect(element(by.id('HostInput'))).toHaveText('');
|
||||
await expect(element(by.id('PortInput'))).toHaveText('');
|
||||
|
|
Loading…
Add table
Reference in a new issue