@@ -64,10 +64,10 @@ devFeatureTest.describe('Experience - suggest additional MFA after email registr
6464 await experience . waitForPathname ( 'continue/password' ) ;
6565 await experience . toFillNewPasswords ( password ) ;
6666
67- // Wait for suggestion navigation and page render ( list page)
68- await experience . waitForPathname ( 'mfa-binding/Totp ' ) ;
67+ // Wait for suggestion navigation to MFA list page
68+ await experience . waitForPathname ( 'mfa-binding' ) ;
6969
70- // Skip optional suggestion
70+ // Skip optional suggestion from list page
7171 await experience . toClick ( 'div[role=button][class$=skipButton]' ) ;
7272 await experience . page . waitForNetworkIdle ( ) ;
7373
@@ -97,7 +97,11 @@ devFeatureTest.describe('Experience - suggest additional MFA after email registr
9797 await experience . waitForPathname ( 'continue/password' ) ;
9898 await experience . toFillNewPasswords ( password ) ;
9999
100- // Land on optional MFA suggestion list
100+ // Land on optional MFA suggestion list page
101+ await experience . waitForPathname ( 'mfa-binding' ) ;
102+
103+ // Click on TOTP factor button to proceed with binding
104+ await experience . toClick ( 'button' , 'Authenticator app OTP' ) ;
101105 await experience . waitForPathname ( 'mfa-binding/Totp' ) ;
102106 await experience . toBindTotp ( ) ;
103107 const userId = await experience . getUserIdFromDemoAppPage ( ) ;
@@ -127,8 +131,8 @@ devFeatureTest.describe('Experience - suggest additional MFA after email registr
127131 await experience . waitForPathname ( 'continue/password' ) ;
128132 await experience . toFillNewPasswords ( password ) ;
129133
130- // Optional suggestion detail page for TOTP
131- await experience . waitForPathname ( 'mfa-binding/Totp ' ) ;
134+ // Optional suggestion list page
135+ await experience . waitForPathname ( 'mfa-binding' ) ;
132136
133137 // Click skip for optional suggestion; backend should require backup code
134138 await experience . toClick ( 'div[role=button][class$=skipButton]' ) ;
0 commit comments