Merge branch 'master' of github.com:BlueWallet/BlueWallet

This commit is contained in:
Overtorment 2020-03-23 12:27:58 +00:00
commit 0ec9ea774a
2 changed files with 1 additions and 8 deletions

View file

@ -55,7 +55,6 @@ describe('BlueWallet UI Tests', () => {
await element(by.text('OK')).tap();
// relaunch app
await device.terminateApp();
await device.launchApp({ newInstance: true });
await waitFor(element(by.text('OK')))
.toBeVisible()
@ -123,7 +122,6 @@ describe('BlueWallet UI Tests', () => {
// relaunch the app, unlock with fake password, expect to see fake wallet
// relaunch app
await device.terminateApp();
await device.launchApp({ newInstance: true });
await waitFor(element(by.text('OK')))
.toBeVisible()
@ -138,7 +136,6 @@ describe('BlueWallet UI Tests', () => {
await expect(element(by.id('cr34t3d'))).toBeVisible();
// relaunch app
await device.terminateApp();
await device.launchApp({ newInstance: true });
await sleep(3000);
//
@ -185,7 +182,6 @@ describe('BlueWallet UI Tests', () => {
await helperCreateWallet('fake_wallet');
// relaunch app
await device.terminateApp();
await device.launchApp({ newInstance: true });
await waitFor(element(by.text('OK')))
.toBeVisible()
@ -299,7 +295,6 @@ describe('BlueWallet UI Tests', () => {
await helperCreateWallet();
await device.terminateApp();
await device.launchApp({ newInstance: true });
await yo('WalletsList');
await expect(element(by.id('cr34t3d'))).toBeVisible();

View file

@ -24,9 +24,7 @@ beforeAll(async () => {
}, 600000);
beforeEach(async () => {
await device.uninstallApp();
await device.installApp();
await device.launchApp({ newInstance: true });
await device.launchApp({ newInstance: true, delete: true });
await sleep(2000);
await adapter.beforeEach();
});