@@ -58,7 +58,8 @@ d('Settings', () => {
58
58
) . toHaveText ( '$' ) ;
59
59
60
60
// switch to GBP
61
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
61
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
62
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
62
63
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
63
64
await element ( by . id ( 'CurrenciesSettings' ) ) . tap ( ) ;
64
65
await element ( by . text ( 'GBP (£)' ) ) . tap ( ) ;
@@ -72,7 +73,8 @@ d('Settings', () => {
72
73
await element ( by . id ( 'TotalBalance' ) ) . tap ( ) ;
73
74
74
75
// switch to USD
75
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
76
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
77
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
76
78
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
77
79
await element ( by . id ( 'CurrenciesSettings' ) ) . tap ( ) ;
78
80
await element ( by . text ( 'USD ($)' ) ) . tap ( ) ;
@@ -95,7 +97,8 @@ d('Settings', () => {
95
97
by . id ( 'Value' ) . withAncestor ( by . id ( 'UnitSettings' ) ) ,
96
98
) ;
97
99
98
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
100
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
101
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
99
102
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
100
103
// check default unit
101
104
await expect ( unitRow ) . toHaveText ( 'Bitcoin' ) ;
@@ -110,7 +113,8 @@ d('Settings', () => {
110
113
await expect ( balance ) . toHaveText ( '0.00' ) ;
111
114
112
115
// switch back to BTC
113
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
116
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
117
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
114
118
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
115
119
await element ( by . id ( 'UnitSettings' ) ) . tap ( ) ;
116
120
await element ( by . id ( 'Bitcoin' ) ) . tap ( ) ;
@@ -120,7 +124,8 @@ d('Settings', () => {
120
124
await expect ( balance ) . toHaveText ( '0' ) ;
121
125
122
126
// switch to classic denomination
123
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
127
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
128
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
124
129
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
125
130
await element ( by . id ( 'UnitSettings' ) ) . tap ( ) ;
126
131
await element ( by . id ( 'DenominationClassic' ) ) . tap ( ) ;
@@ -137,7 +142,8 @@ d('Settings', () => {
137
142
return ;
138
143
}
139
144
140
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
145
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
146
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
141
147
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
142
148
143
149
// switch to Fast
@@ -172,7 +178,8 @@ d('Settings', () => {
172
178
}
173
179
174
180
// no tags, menu entry should be hidden
175
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
181
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
182
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
176
183
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
177
184
await expect ( element ( by . id ( 'TagsSettings' ) ) ) . not . toBeVisible ( ) ;
178
185
await element ( by . id ( 'NavigationClose' ) ) . atIndex ( 0 ) . tap ( ) ;
@@ -191,7 +198,8 @@ d('Settings', () => {
191
198
await sleep ( 1000 ) ;
192
199
193
200
// open tag manager, delete tag
194
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
201
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
202
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
195
203
await element ( by . id ( 'GeneralSettings' ) ) . tap ( ) ;
196
204
await element ( by . id ( 'TagsSettings' ) ) . tap ( ) ;
197
205
await expect ( element ( by . text ( tag ) ) ) . toBeVisible ( ) ;
@@ -214,7 +222,8 @@ d('Settings', () => {
214
222
return ;
215
223
}
216
224
217
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
225
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
226
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
218
227
await element ( by . id ( 'About' ) ) . tap ( ) ;
219
228
await expect ( element ( by . id ( 'AboutLogo' ) ) ) . toBeVisible ( ) ;
220
229
@@ -242,7 +251,8 @@ d('Settings', () => {
242
251
await expect ( element ( by . id ( 'ShowBalance' ) ) ) . toBeVisible ( ) ;
243
252
244
253
// Disable 'swipe to hide balance'
245
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
254
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
255
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
246
256
await element ( by . id ( 'SecuritySettings' ) ) . tap ( ) ;
247
257
await element ( by . id ( 'SwipeBalanceToHide' ) ) . tap ( ) ;
248
258
await element ( by . id ( 'NavigationClose' ) ) . atIndex ( 0 ) . tap ( ) ;
@@ -255,7 +265,8 @@ d('Settings', () => {
255
265
await expect ( element ( by . id ( 'ShowBalance' ) ) ) . not . toBeVisible ( ) ;
256
266
257
267
// Enable 'hide balance on open'
258
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
268
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
269
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
259
270
await element ( by . id ( 'SecuritySettings' ) ) . tap ( ) ;
260
271
await element ( by . id ( 'SwipeBalanceToHide' ) ) . tap ( ) ;
261
272
await element ( by . id ( 'HideBalanceOnOpen' ) ) . tap ( ) ;
@@ -275,7 +286,8 @@ d('Settings', () => {
275
286
return ;
276
287
}
277
288
278
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
289
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
290
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
279
291
await element ( by . id ( 'BackupSettings' ) ) . tap ( ) ;
280
292
await element ( by . id ( 'ResetAndRestore' ) ) . tap ( ) ; // just check if this screen can be opened
281
293
await element ( by . id ( 'NavigationBack' ) ) . atIndex ( 0 ) . tap ( ) ;
@@ -327,7 +339,8 @@ d('Settings', () => {
327
339
await sleep ( 1000 ) ;
328
340
329
341
// check same address in Address Viewer
330
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
342
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
343
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
331
344
await element ( by . id ( 'AdvancedSettings' ) ) . tap ( ) ;
332
345
await element ( by . id ( 'WebRelay' ) ) . swipe ( 'up' ) ;
333
346
await element ( by . id ( 'AddressViewer' ) ) . tap ( ) ;
@@ -389,7 +402,8 @@ d('Settings', () => {
389
402
await sleep ( 1000 ) ;
390
403
391
404
// switch back to Native segwit
392
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
405
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
406
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
393
407
await element ( by . id ( 'AdvancedSettings' ) ) . tap ( ) ;
394
408
await element ( by . id ( 'AddressTypePreference' ) ) . tap ( ) ;
395
409
await element ( by . id ( 'p2wpkh' ) ) . tap ( ) ;
@@ -403,7 +417,8 @@ d('Settings', () => {
403
417
return ;
404
418
}
405
419
406
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
420
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
421
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
407
422
if ( ! __DEV__ ) {
408
423
await element ( by . id ( 'DevOptions' ) ) . multiTap ( 5 ) ; // enable dev mode
409
424
}
@@ -438,7 +453,8 @@ d('Settings', () => {
438
453
return ;
439
454
}
440
455
441
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
456
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
457
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
442
458
await element ( by . id ( 'AdvancedSettings' ) ) . tap ( ) ;
443
459
await element ( by . id ( 'ElectrumConfig' ) ) . tap ( ) ;
444
460
@@ -527,7 +543,8 @@ d('Settings', () => {
527
543
return ;
528
544
}
529
545
530
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
546
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
547
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
531
548
await element ( by . id ( 'AdvancedSettings' ) ) . tap ( ) ;
532
549
await element ( by . id ( 'WebRelay' ) ) . tap ( ) ;
533
550
@@ -561,7 +578,8 @@ d('Settings', () => {
561
578
return ;
562
579
}
563
580
564
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
581
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
582
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
565
583
await element ( by . id ( 'AdvancedSettings' ) ) . tap ( ) ;
566
584
await element ( by . id ( 'RGSServer' ) ) . tap ( ) ;
567
585
@@ -610,7 +628,8 @@ d('Settings', () => {
610
628
await expect ( element ( by . id ( 'Suggestion-lightning' ) ) ) . not . toBeVisible ( ) ;
611
629
612
630
// reset suggestions
613
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
631
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
632
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
614
633
await element ( by . id ( 'AdvancedSettings' ) ) . tap ( ) ;
615
634
await element ( by . id ( 'WebRelay' ) ) . swipe ( 'up' ) ;
616
635
await element ( by . id ( 'ResetSuggestions' ) ) . tap ( ) ;
@@ -628,7 +647,8 @@ d('Settings', () => {
628
647
return ;
629
648
}
630
649
631
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
650
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
651
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
632
652
if ( ! __DEV__ ) {
633
653
await element ( by . id ( 'DevOptions' ) ) . multiTap ( 5 ) ; // enable dev mode
634
654
}
@@ -653,15 +673,16 @@ d('Settings', () => {
653
673
return ;
654
674
}
655
675
656
- await element ( by . id ( 'Settings' ) ) . tap ( ) ;
676
+ await element ( by . id ( 'HeaderMenu' ) ) . tap ( ) ;
677
+ await element ( by . id ( 'DrawerSettings' ) ) . tap ( ) ;
657
678
await element ( by . id ( 'Support' ) ) . tap ( ) ;
658
679
await element ( by . id ( 'AppStatus' ) ) . tap ( ) ;
659
680
660
681
await expect ( element ( by . id ( 'Status-internet' ) ) ) . toBeVisible ( ) ;
661
- await expect ( element ( by . id ( 'Status-bitcoin_node ' ) ) ) . toBeVisible ( ) ;
682
+ await expect ( element ( by . id ( 'Status-electrum ' ) ) ) . toBeVisible ( ) ;
662
683
await expect ( element ( by . id ( 'Status-lightning_node' ) ) ) . toBeVisible ( ) ;
663
684
await expect ( element ( by . id ( 'Status-lightning_connection' ) ) ) . toBeVisible ( ) ;
664
- await expect ( element ( by . id ( 'Status-full_backup ' ) ) ) . toBeVisible ( ) ;
685
+ await expect ( element ( by . id ( 'Status-backup ' ) ) ) . toBeVisible ( ) ;
665
686
666
687
await element ( by . id ( 'NavigationClose' ) ) . atIndex ( 0 ) . tap ( ) ;
667
688
0 commit comments