mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
Merge branch 'master' of github.com:BlueWallet/BlueWallet
This commit is contained in:
commit
0ec9ea774a
2 changed files with 1 additions and 8 deletions
|
@ -55,7 +55,6 @@ describe('BlueWallet UI Tests', () => {
|
||||||
await element(by.text('OK')).tap();
|
await element(by.text('OK')).tap();
|
||||||
|
|
||||||
// relaunch app
|
// relaunch app
|
||||||
await device.terminateApp();
|
|
||||||
await device.launchApp({ newInstance: true });
|
await device.launchApp({ newInstance: true });
|
||||||
await waitFor(element(by.text('OK')))
|
await waitFor(element(by.text('OK')))
|
||||||
.toBeVisible()
|
.toBeVisible()
|
||||||
|
@ -123,7 +122,6 @@ describe('BlueWallet UI Tests', () => {
|
||||||
// relaunch the app, unlock with fake password, expect to see fake wallet
|
// relaunch the app, unlock with fake password, expect to see fake wallet
|
||||||
|
|
||||||
// relaunch app
|
// relaunch app
|
||||||
await device.terminateApp();
|
|
||||||
await device.launchApp({ newInstance: true });
|
await device.launchApp({ newInstance: true });
|
||||||
await waitFor(element(by.text('OK')))
|
await waitFor(element(by.text('OK')))
|
||||||
.toBeVisible()
|
.toBeVisible()
|
||||||
|
@ -138,7 +136,6 @@ describe('BlueWallet UI Tests', () => {
|
||||||
await expect(element(by.id('cr34t3d'))).toBeVisible();
|
await expect(element(by.id('cr34t3d'))).toBeVisible();
|
||||||
|
|
||||||
// relaunch app
|
// relaunch app
|
||||||
await device.terminateApp();
|
|
||||||
await device.launchApp({ newInstance: true });
|
await device.launchApp({ newInstance: true });
|
||||||
await sleep(3000);
|
await sleep(3000);
|
||||||
//
|
//
|
||||||
|
@ -185,7 +182,6 @@ describe('BlueWallet UI Tests', () => {
|
||||||
await helperCreateWallet('fake_wallet');
|
await helperCreateWallet('fake_wallet');
|
||||||
|
|
||||||
// relaunch app
|
// relaunch app
|
||||||
await device.terminateApp();
|
|
||||||
await device.launchApp({ newInstance: true });
|
await device.launchApp({ newInstance: true });
|
||||||
await waitFor(element(by.text('OK')))
|
await waitFor(element(by.text('OK')))
|
||||||
.toBeVisible()
|
.toBeVisible()
|
||||||
|
@ -299,7 +295,6 @@ describe('BlueWallet UI Tests', () => {
|
||||||
|
|
||||||
await helperCreateWallet();
|
await helperCreateWallet();
|
||||||
|
|
||||||
await device.terminateApp();
|
|
||||||
await device.launchApp({ newInstance: true });
|
await device.launchApp({ newInstance: true });
|
||||||
await yo('WalletsList');
|
await yo('WalletsList');
|
||||||
await expect(element(by.id('cr34t3d'))).toBeVisible();
|
await expect(element(by.id('cr34t3d'))).toBeVisible();
|
||||||
|
|
|
@ -24,9 +24,7 @@ beforeAll(async () => {
|
||||||
}, 600000);
|
}, 600000);
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await device.uninstallApp();
|
await device.launchApp({ newInstance: true, delete: true });
|
||||||
await device.installApp();
|
|
||||||
await device.launchApp({ newInstance: true });
|
|
||||||
await sleep(2000);
|
await sleep(2000);
|
||||||
await adapter.beforeEach();
|
await adapter.beforeEach();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue