Skip to content

Commit

Permalink
fix: remove some sleep & send test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanky201271 committed Sep 27, 2024
1 parent 9b20738 commit d14a191
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/e2e-utils/loadDarksideWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));

let loadDarksideWallet = async () => {
await sleep(5000);
await sleep(2000);

// the start always is like a fress install -> create a new wallet
// go to setting modal screen
Expand Down
2 changes: 1 addition & 1 deletion e2e/e2e-utils/loadRecipientWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));

let loadRecipientWallet = async () => {
await sleep(5000);
await sleep(2000);

// the start always is like a fress install -> create a new wallet
// go to setting modal screen
Expand Down
2 changes: 1 addition & 1 deletion e2e/e2e-utils/loadTestWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));

let loadTestWallet = async () => {
// waiting while app is detecting the best server
await sleep(5000);
await sleep(2000);

// the start always is like a fresh install -> create a new wallet
// go to setting modal screen
Expand Down
1 change: 1 addition & 0 deletions e2e/send.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ describe('Renders wallet data correctly.', () => {
'u1lx7nlnqqqs7p4hcqz4hyjgnw7h8zskcgr2f8dfhm96np0gnfdzu7jtms7q2pxd7ufy96wxzdsdy65jvp3td7fj2ltcz0jpak86ddyszl9ykn5s86q3xataya5867z3tj2x8cw0ljyrenymr2gcqmjf50gmexqj233yn3kdaxn2yukwcx87emurufakf82wapgnu5h3fvae6aw9uus2r',
);
await element(by.id('send.amount')).replaceText('0');
await waitFor(element(by.id('send.checkboxua'))).toBeVisible().withTimeout(sync_timeout);
await element(by.id('send.checkboxua')).tap();
await element(by.id('send.scroll-view')).scrollTo('bottom');
await element(by.id('send.memo-field')).replaceText('1\n2\n3\n4\n5\n6\n7\n8');
Expand Down

0 comments on commit d14a191

Please sign in to comment.