Skip to content

Commit

Permalink
fix: backup e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Jun 14, 2024
1 parent 19557b1 commit b423bb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/backup.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ d('Backup', () => {

await waitFor(element(by.id('NewTxPrompt')))
.toBeVisible()
.withTimeout(10000);
.withTimeout(60000);
await element(by.id('NewTxPrompt')).swipe('down'); // close Receive screen
await sleep(200); // animation

Expand All @@ -90,7 +90,7 @@ d('Backup', () => {
await element(by.id('GeneralSettings')).tap();
await element(by.id('CurrenciesSettings')).tap();
await element(by.text('GBP (£)')).tap();
await element(by.id('NavigationClose')).tap();
await element(by.id('NavigationClose')).atIndex(0).tap();

// remove 2 default widgets, leave PriceWidget
await element(by.id('WalletsScrollView')).scroll(100, 'down', NaN, 0.85);
Expand Down Expand Up @@ -119,7 +119,7 @@ d('Backup', () => {

await element(by.id('SeedContaider')).swipe('down');
await sleep(200); // animation
await element(by.id('NavigationClose')).tap();
await element(by.id('NavigationClose')).atIndex(0).tap();

await sleep(5000); // make sure everything is saved to cloud storage TODO: improve this

Expand Down Expand Up @@ -165,7 +165,7 @@ d('Backup', () => {
await expect(
element(by.id(`Tag-${tag}`).withAncestor(by.id('ActivityTags'))),
).toBeVisible();
await element(by.id('NavigationClose')).tap();
await element(by.id('NavigationClose')).atIndex(0).tap();

// check widgets
await element(by.id('WalletsScrollView')).scroll(300, 'down', NaN, 0.85);
Expand Down

0 comments on commit b423bb2

Please sign in to comment.