File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -416,14 +416,16 @@ test.describe('SAML', () => {
416416
417417 await page2 . goto ( `/home` ) ;
418418 await expect ( page2 ) . toHaveURL ( '/home' ) ;
419- await expect ( page2 . getByRole ( 'button' , { name : 'User menu' } ) ) . not . toBeVisible ( ) ;
420419
421420 await page . goto ( `/invite/${ inviteId } ` ) ;
422421 await page . getByRole ( 'link' , { name : 'Back to Login' } ) . click ( ) ;
423422
423+ await expect ( poRegistration . btnLoginWithSaml ) . toBeVisible ( ) ;
424424 await poRegistration . btnLoginWithSaml . click ( ) ;
425425 await expect ( page ) . toHaveURL ( / .* \/ s i m p l e s a m l \/ m o d u l e .p h p \/ c o r e \/ l o g i n u s e r p a s s .p h p .* / ) ;
426426
427+ await expect ( page2 . getByRole ( 'button' , { name : 'User menu' } ) ) . not . toBeVisible ( ) ;
428+ await expect ( poRegistration2 . btnLoginWithSaml ) . toBeVisible ( ) ;
427429 await poRegistration2 . btnLoginWithSaml . click ( ) ;
428430 await expect ( page2 ) . toHaveURL ( / .* \/ s i m p l e s a m l \/ m o d u l e .p h p \/ c o r e \/ l o g i n u s e r p a s s .p h p .* / ) ;
429431
You can’t perform that action at this time.
0 commit comments