@@ -19,7 +19,7 @@ test.describe('severity-1 #smoke', () => {
1919 pages : { page, recoveryKey, settings, signin } ,
2020 testAccountTracker,
2121 } ) => {
22- const { password } = await signInAccount (
22+ const { email , password } = await signInAccount (
2323 target ,
2424 page ,
2525 settings ,
@@ -33,6 +33,9 @@ test.describe('severity-1 #smoke', () => {
3333 await expect ( settings . recoveryKey . status ) . toHaveText ( 'Not Set' ) ;
3434
3535 await settings . recoveryKey . createButton . click ( ) ;
36+
37+ await settings . confirmMfaGuard ( email ) ;
38+
3639 await recoveryKey . acknowledgeInfoForm ( ) ;
3740 await recoveryKey . fillOutConfirmPasswordForm ( password ) ;
3841
@@ -61,6 +64,9 @@ test.describe('severity-1 #smoke', () => {
6164 await expect ( settings . recoveryKey . status ) . toHaveText ( 'Not Set' ) ;
6265
6366 await settings . recoveryKey . createButton . click ( ) ;
67+
68+ await settings . confirmMfaGuard ( credentials . email ) ;
69+
6470 await recoveryKey . acknowledgeInfoForm ( ) ;
6571 await recoveryKey . fillOutConfirmPasswordForm ( credentials . password ) ;
6672
@@ -118,6 +124,9 @@ test.describe('severity-1 #smoke', () => {
118124 await expect ( settings . recoveryKey . status ) . toHaveText ( 'Not Set' ) ;
119125
120126 await settings . recoveryKey . createButton . click ( ) ;
127+
128+ await settings . confirmMfaGuard ( credentials . email ) ;
129+
121130 await recoveryKey . createRecoveryKey ( credentials . password , HINT ) ;
122131 await expect ( page . getByRole ( 'alert' ) ) . toHaveText (
123132 'Account recovery key created'
0 commit comments