@@ -23,7 +23,6 @@ import { TEST_CLIENT_BASE_URL, SIGN_IN_UP_API } from "../constants";
2323
2424describe ( "getRedirectionURL Tests" , function ( ) {
2525 let browser ;
26- let page ;
2726
2827 before ( async function ( ) {
2928 await backendHook ( "before" ) ;
@@ -46,6 +45,8 @@ describe("getRedirectionURL Tests", function () {
4645
4746 describe ( "Test that isNewRecipeUser is passed correctly" , function ( ) {
4847 describe ( "Email Password Recipe" , function ( ) {
48+ let page ;
49+
4950 beforeEach ( async function ( ) {
5051 page = await browser . newPage ( ) ;
5152 const coreUrl = await setupCoreApp ( ) ;
@@ -72,6 +73,8 @@ describe("getRedirectionURL Tests", function () {
7273 } ) ;
7374
7475 describe ( "Third party recipe" , function ( ) {
76+ let page ;
77+
7578 before ( async function ( ) {
7679 const coreUrl = await setupCoreApp ( ) ;
7780 await setupST ( { coreUrl } ) ;
@@ -105,6 +108,8 @@ describe("getRedirectionURL Tests", function () {
105108 } ) ;
106109
107110 describe ( "Thirdpartyemailpassword recipe" , function ( ) {
111+ let page ;
112+
108113 before ( async function ( ) {
109114 const coreUrl = await setupCoreApp ( ) ;
110115 await setupST ( { coreUrl } ) ;
@@ -145,6 +150,7 @@ describe("getRedirectionURL Tests", function () {
145150
146151 describe ( "Passwordless recipe" , function ( ) {
147152 const exampleEmail = "test@example.com" ;
153+ let page ;
148154
149155 before ( async function ( ) {
150156 let _isPasswordlessSupported = await isPasswordlessSupported ( ) ;
@@ -207,6 +213,7 @@ describe("getRedirectionURL Tests", function () {
207213
208214 describe ( "ThirdPartyPasswordless recipe" , function ( ) {
209215 const exampleEmail = "test@example.com" ;
216+ let page ;
210217
211218 before ( async function ( ) {
212219 let _isThirdPartyPasswordlessSupported = await isThirdPartyPasswordlessSupported ( ) ;
@@ -283,6 +290,8 @@ describe("getRedirectionURL Tests", function () {
283290
284291 describe ( "No Redirection" , function ( ) {
285292 describe ( "Email Password Recipe" , function ( ) {
293+ let page ;
294+
286295 before ( async function ( ) {
287296 const coreUrl = await setupCoreApp ( ) ;
288297 await setupST ( { coreUrl } ) ;
@@ -320,6 +329,7 @@ describe("getRedirectionURL Tests", function () {
320329
321330 describe ( "Passwordless recipe" , function ( ) {
322331 const exampleEmail = "test@example.com" ;
332+ let page ;
323333
324334 before ( async function ( ) {
325335 let _isPasswordlessSupported = await isPasswordlessSupported ( ) ;
@@ -387,6 +397,7 @@ describe("getRedirectionURL Tests", function () {
387397
388398 describe ( "ThirdPartyPasswordless recipe: Magic Link" , function ( ) {
389399 const exampleEmail = "test@example.com" ;
400+ let page ;
390401
391402 before ( async function ( ) {
392403 let _isThirdPartyPasswordlessSupported = await isThirdPartyPasswordlessSupported ( ) ;
@@ -453,6 +464,7 @@ describe("getRedirectionURL Tests", function () {
453464 } ) ;
454465
455466 describe ( "ThirdParty Recipe" , function ( ) {
467+ let page ;
456468 before ( async function ( ) {
457469 const coreUrl = await setupCoreApp ( ) ;
458470 await setupST ( { coreUrl } ) ;
0 commit comments