File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -378,28 +378,6 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withEmailCodes] })('resilienc
378378 } ) ;
379379 } ) ;
380380
381- test . describe ( 'touch with intent' , ( ) => {
382- test ( 'focus touch returns last_active_token even without client piggybacking' , async ( { page, context } ) => {
383- const u = createTestUtils ( { app, page, context } ) ;
384-
385- await u . po . signIn . goTo ( ) ;
386- await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
387- await u . po . expect . toBeSignedIn ( ) ;
388-
389- // Touch with intent=focus. The server may skip client piggybacking for focus
390- // touches as an optimization, but the session must still include last_active_token.
391- await page . evaluate ( async ( ) => {
392- await ( window . Clerk ?. session as any ) ?. touch ( { intent : 'focus' } ) ;
393- } ) ;
394-
395- const lastActiveTokenJwt = await page . evaluate ( ( ) => {
396- return window . Clerk ?. session ?. lastActiveToken ?. getRawString ( ) ?? null ;
397- } ) ;
398-
399- expect ( lastActiveTokenJwt ) . toBeTruthy ( ) ;
400- } ) ;
401- } ) ;
402-
403381 test . describe ( 'clerk-js script loading' , ( ) => {
404382 test ( 'recovers from transient network failure on clerk-js script load' , async ( { page, context } ) => {
405383 const u = createTestUtils ( { app, page, context } ) ;
You can’t perform that action at this time.
0 commit comments