Skip to content

Commit 9168cbb

Browse files
committed
stability
1 parent a7e940c commit 9168cbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/helpers/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ export async function acknowledgeReceivedPayment() {
715715
* await doTriggerTimedSheet();
716716
*/
717717
export async function doTriggerTimedSheet() {
718+
await sleep(700); // wait for any previous animations to finish
718719
await tap('HeaderMenu');
719720
await tap('DrawerSettings');
720721
await sleep(500); // wait for the app to settle

test/specs/lightning.e2e.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
elementByText,
2424
dismissQuickPayIntro,
2525
doNavigationClose,
26-
acknowledgeReceivedPayment,
2726
waitForBackup,
2827
dismissBackgroundPaymentsTimedSheet,
2928
} from '../helpers/actions';
@@ -112,7 +111,7 @@ describe('@lightning - Lightning', () => {
112111
console.info({ response });
113112
await elementById('ReceivedTransaction').waitForDisplayed();
114113
await tap('ReceivedTransactionButton');
115-
await sleep(500);
114+
await sleep(1000);
116115
if (driver.isIOS) {
117116
await dismissBackgroundPaymentsTimedSheet({ triggerTimedSheet: driver.isIOS });
118117
await dismissQuickPayIntro({ triggerTimedSheet: driver.isIOS });

0 commit comments

Comments
 (0)