File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,12 +75,13 @@ test.describe('PingAM tokens', () => {
7575 await page . getByRole ( 'textbox' , { name : 'Password' } ) . fill ( pingAmPassword ) ;
7676 await page . getByRole ( 'button' , { name : 'Next' } ) . click ( ) ;
7777
78- await page . waitForURL ( 'http://localhost:8443/ping-am/**' , { waitUntil : 'networkidle' } ) ;
79- expect ( page . url ( ) ) . toContain ( 'code' ) ;
80- expect ( page . url ( ) ) . toContain ( 'state' ) ;
78+ await page . waitForURL ( 'http://localhost:8443/ping-am/**' ) ;
8179
8280 await expect ( page . locator ( '#accessToken-0' ) ) . not . toBeEmpty ( ) ;
8381
82+ expect ( page . url ( ) ) . toContain ( 'code' ) ;
83+ expect ( page . url ( ) ) . toContain ( 'state' ) ;
84+
8485 await page . getByRole ( 'button' , { name : 'Revoke Token' } ) . click ( ) ;
8586 await expect ( page . getByText ( 'Token successfully revoked' ) ) . toBeVisible ( ) ;
8687 const token = await page . evaluate ( ( ) => localStorage . getItem ( 'pic-oidcTokens' ) ) ;
You can’t perform that action at this time.
0 commit comments