@@ -177,38 +177,6 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withEmailCodes] })('sign in f
177177 // Attempt to sign in on the second tab (which already has sign-in mounted)
178178 await secondTabUtils . po . signIn . setIdentifier ( fakeUser . email ) ;
179179 await secondTabUtils . po . signIn . continue ( ) ;
180- await secondTabUtils . po . signIn . setPassword ( fakeUser . password ) ;
181- await secondTabUtils . po . signIn . continue ( ) ;
182-
183- // Should redirect and be signed in without error
184- await secondTabUtils . po . expect . toBeSignedIn ( ) ;
185- } ) ;
186-
187- test ( 'redirects when attempting to sign in with instant password and existing session in another tab' , async ( {
188- page,
189- context,
190- browser,
191- } ) => {
192- const u = createTestUtils ( { app, page, context, browser } ) ;
193-
194- // Open sign-in page in both tabs before signing in
195- await u . po . signIn . goTo ( ) ;
196-
197- let secondTabUtils : any ;
198- await u . tabs . runInNewTab ( async u2 => {
199- secondTabUtils = u2 ;
200- await u2 . po . signIn . goTo ( ) ;
201- } ) ;
202-
203- // Sign in with instant password on the first tab
204- await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
205- await u . po . expect . toBeSignedIn ( ) ;
206-
207- // Attempt to sign in with instant password on the second tab
208- await secondTabUtils . po . signIn . signInWithEmailAndInstantPassword ( {
209- email : fakeUser . email ,
210- password : fakeUser . password ,
211- } ) ;
212180
213181 // Should redirect and be signed in without error
214182 await secondTabUtils . po . expect . toBeSignedIn ( ) ;
0 commit comments