File tree 4 files changed +8
-59
lines changed
4 files changed +8
-59
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ class AccountDetailActions {
15
15
16
16
async openSend ( ) {
17
17
await element ( by . id ( '@account-detail/send-button' ) ) . tap ( ) ;
18
-
19
- await detoxExpect ( element ( by . id ( '@screen/SendOutputs' ) ) ) . toBeVisible ( ) ;
20
18
}
21
19
}
22
20
Original file line number Diff line number Diff line change 1
1
class AlertSheetActions {
2
2
async tapPrimaryButton ( ) {
3
- await waitFor ( element ( by . id ( '@alert-sheet/primary-button' ) ) )
4
- . toBeVisible ( )
5
- . withTimeout ( 10000 ) ;
6
- await element ( by . id ( '@alert-sheet/primary-button' ) ) . tap ( ) ;
3
+ const primaryButtonElement = element ( by . id ( '@alert-sheet/primary-button' ) ) ;
4
+
5
+ await waitFor ( primaryButtonElement ) . toBeVisible ( ) . withTimeout ( 10000 ) ;
6
+ await primaryButtonElement . tap ( ) ;
7
7
}
8
8
9
9
async tapSecondaryButton ( ) {
10
- await waitFor ( element ( by . id ( '@alert-sheet/secondary-button' ) ) )
11
- . toBeVisible ( )
12
- . withTimeout ( 10000 ) ;
13
- await element ( by . id ( '@alert-sheet/secondary-button' ) ) . tap ( ) ;
10
+ const secondaryButtonElement = element ( by . id ( '@alert-sheet/secondary-button' ) ) ;
11
+
12
+ await waitFor ( secondaryButtonElement ) . toBeVisible ( ) . withTimeout ( 10000 ) ;
13
+ await secondaryButtonElement . tap ( ) ;
14
14
}
15
15
}
16
16
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ const prepareTransactionForOnDeviceReview = async (isFormEmpty: boolean = true)
43
43
44
44
await onSendOutputsForm . submitForm ( ) ;
45
45
46
- await onSendFees . selectFee ( 'normal' ) ;
47
46
await onSendFees . submitFee ( ) ;
48
47
} ;
49
48
You can’t perform that action at this time.
0 commit comments