@@ -49,7 +49,6 @@ test.describe("/token endpoint - Token Issuance", () => {
4949 // Already logged in or consent already granted
5050 }
5151
52- await page . waitForURL ( / c a l l b a c k / , { timeout : 10000 } )
5352 const code = await assertAndExtractCodeFromCallbackUrl ( page , state )
5453 const tok = await exchangeCodeForToken ( code , { kind : "bearer" } , codeVerifier )
5554
@@ -85,7 +84,6 @@ test.describe("/token endpoint - Token Issuance", () => {
8584 // Already logged in or consent already granted
8685 }
8786
88- await page . waitForURL ( / c a l l b a c k / , { timeout : 10000 } )
8987 const code = await assertAndExtractCodeFromCallbackUrl ( page , state )
9088 const tok = await exchangeCodeForToken ( code , { kind : "bearer" } , codeVerifier )
9189
@@ -121,7 +119,6 @@ test.describe("/token endpoint - Token Issuance", () => {
121119 // Already logged in or consent already granted
122120 }
123121
124- await page . waitForURL ( / c a l l b a c k / , { timeout : 10000 } )
125122 const code1 = await assertAndExtractCodeFromCallbackUrl ( page , first . state )
126123 const tok1 = await exchangeCodeForToken ( code1 , { kind : "bearer" } , codeVerifier1 )
127124
@@ -149,7 +146,6 @@ test.describe("/token endpoint - Token Issuance", () => {
149146 // Already logged in or consent already granted
150147 }
151148
152- await page . waitForURL ( / c a l l b a c k / , { timeout : 10000 } )
153149 const code2 = await assertAndExtractCodeFromCallbackUrl ( page , second . state )
154150 const tok2 = await exchangeCodeForToken ( code2 , { kind : "bearer" } , codeVerifier2 )
155151
@@ -180,7 +176,6 @@ test.describe("/token endpoint - Token Issuance", () => {
180176 // Already logged in or consent already granted
181177 }
182178
183- await page . waitForURL ( / c a l l b a c k / , { timeout : 10000 } )
184179 const code = await assertAndExtractCodeFromCallbackUrl ( page , state )
185180
186181 // Exchange code for token and check headers
0 commit comments