@@ -7,42 +7,6 @@ describe(':android:Storage Types', () => {
7
7
await device . launchApp ( { newInstance : true } ) ;
8
8
} ) ;
9
9
[ 'genericPassword' , 'internetCredentials' ] . forEach ( ( type ) => {
10
- it (
11
- ':android:should save with FB storage and migrate it to AES_GCM_NO_AUTH - ' +
12
- type ,
13
- async ( ) => {
14
- await expect ( element ( by . text ( 'Keychain Example' ) ) ) . toExist ( ) ;
15
- await element ( by . id ( 'usernameInput' ) ) . typeText ( 'testUsernameFB' ) ;
16
- await element ( by . id ( 'passwordInput' ) ) . typeText ( 'testPasswordFB' ) ;
17
- // Hide keyboard
18
- await element ( by . text ( 'Keychain Example' ) ) . tap ( ) ;
19
-
20
- await element ( by . text ( type ) ) . tap ( ) ;
21
- await element ( by . text ( 'None' ) ) . tap ( ) ;
22
- await element ( by . text ( 'No upgrade' ) ) . tap ( ) ;
23
- await element ( by . text ( 'FB' ) ) . tap ( ) ;
24
-
25
- await expect ( element ( by . text ( 'Save' ) ) ) . toBeVisible ( ) ;
26
- await element ( by . text ( 'Save' ) ) . tap ( ) ;
27
- await expect ( element ( by . text ( / ^ C r e d e n t i a l s s a v e d ! .* $ / ) ) ) . toBeVisible ( ) ;
28
- await element ( by . text ( 'Load' ) ) . tap ( ) ;
29
- await matchLoadInfo (
30
- 'testUsernameFB' ,
31
- 'testPasswordFB' ,
32
- 'FacebookConceal' ,
33
- type === 'internetCredentials' ? 'https://example.com' : undefined
34
- ) ;
35
- await element ( by . text ( 'Automatic upgrade' ) ) . tap ( ) ;
36
- await element ( by . text ( 'Load' ) ) . tap ( ) ;
37
- await matchLoadInfo (
38
- 'testUsernameFB' ,
39
- 'testPasswordFB' ,
40
- 'KeystoreAESGCM_NoAuth' ,
41
- type === 'internetCredentials' ? 'https://example.com' : undefined
42
- ) ;
43
- }
44
- ) ;
45
-
46
10
it ( ':android:should save with AES_CBC storage - ' + type , async ( ) => {
47
11
await expect ( element ( by . text ( 'Keychain Example' ) ) ) . toExist ( ) ;
48
12
await element ( by . id ( 'usernameInput' ) ) . typeText ( 'testUsernameAESCBC' ) ;
0 commit comments