@@ -72,11 +72,21 @@ export const defineDecryptTests = (testVariant: TestVariant, testWithBrowser: Te
72
72
const { acctEmail, authHdr } = await BrowserRecipe . setupCommonAcctWithAttester ( t , browser , 'compatibility' ) ;
73
73
const inboxPage = await browser . newExtensionPage ( t , `chrome/settings/inbox/inbox.htm?acctEmail=${ acctEmail } &threadId=${ threadId } ` ) ;
74
74
await inboxPage . waitForSelTestState ( 'ready' ) ;
75
- await ( await inboxPage . getFrame ( [ 'backup.htm' ] ) ) . waitForContent ( '@private-key-status' , 'This Private Key is already imported.' ) ;
75
+ await (
76
+ await inboxPage . getFrame ( [ 'backup.htm' ] )
77
+ ) . waitForContent (
78
+ '@private-key-status' ,
79
+ 'This private key with fingerprint 5520 CACE 2CB6 1EA7 13E5 B005 7FDE 6855 48AE A788 has already been imported.'
80
+ ) ;
76
81
await inboxPage . close ( ) ;
77
82
const gmailPage = await browser . newPage ( t , `${ t . context . urls ?. mockGmailUrl ( ) } /${ threadId } ` , undefined , authHdr ) ;
78
83
await gmailPage . waitAll ( 'iframe' ) ;
79
- await ( await gmailPage . getFrame ( [ 'backup.htm' ] ) ) . waitForContent ( '@private-key-status' , 'This Private Key is already imported.' ) ;
84
+ await (
85
+ await gmailPage . getFrame ( [ 'backup.htm' ] )
86
+ ) . waitForContent (
87
+ '@private-key-status' ,
88
+ 'This private key with fingerprint 5520 CACE 2CB6 1EA7 13E5 B005 7FDE 6855 48AE A788 has already been imported.'
89
+ ) ;
80
90
await gmailPage . close ( ) ;
81
91
} )
82
92
) ;
@@ -88,11 +98,21 @@ export const defineDecryptTests = (testVariant: TestVariant, testWithBrowser: Te
88
98
const { acctEmail, authHdr } = await BrowserRecipe . setupCommonAcctWithAttester ( t , browser , 'compatibility' ) ;
89
99
const inboxPage = await browser . newExtensionPage ( t , `chrome/settings/inbox/inbox.htm?acctEmail=${ acctEmail } &threadId=${ threadId } ` ) ;
90
100
await inboxPage . waitForSelTestState ( 'ready' ) ;
91
- await ( await inboxPage . getFrame ( [ 'backup.htm' ] ) ) . waitForContent ( '@private-key-status' , 'This Private Key is already imported.' ) ;
101
+ await (
102
+ await inboxPage . getFrame ( [ 'backup.htm' ] )
103
+ ) . waitForContent (
104
+ '@private-key-status' ,
105
+ 'This private key with fingerprint E8F0 517B A6D7 DAB6 081C 96E4 ADAC 279C 9509 3207 has already been imported.'
106
+ ) ;
92
107
await inboxPage . close ( ) ;
93
108
const gmailPage = await browser . newPage ( t , `${ t . context . urls ?. mockGmailUrl ( ) } /${ threadId } ` , undefined , authHdr ) ;
94
109
await gmailPage . waitAll ( 'iframe' ) ;
95
- await ( await gmailPage . getFrame ( [ 'backup.htm' ] ) ) . waitForContent ( '@private-key-status' , 'This Private Key is already imported.' ) ;
110
+ await (
111
+ await gmailPage . getFrame ( [ 'backup.htm' ] )
112
+ ) . waitForContent (
113
+ '@private-key-status' ,
114
+ 'This private key with fingerprint E8F0 517B A6D7 DAB6 081C 96E4 ADAC 279C 9509 3207 has already been imported.'
115
+ ) ;
96
116
await gmailPage . close ( ) ;
97
117
} )
98
118
) ;
0 commit comments