@@ -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 = "[email protected] " ; 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 = "[email protected] " ; 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 } ) ;
@@ -304,6 +313,7 @@ describe("getRedirectionURL Tests", function () {
304313
305314 describe ( "Passwordless recipe" , function ( ) {
306315 const exampleEmail = "[email protected] " ; 316+ let page ;
307317
308318 before ( async function ( ) {
309319 let _isPasswordlessSupported = await isPasswordlessSupported ( ) ;
@@ -345,6 +355,7 @@ describe("getRedirectionURL Tests", function () {
345355
346356 describe ( "ThirdPartyPasswordless recipe: Magic Link" , function ( ) {
347357 const exampleEmail = "[email protected] " ; 358+ let page ;
348359
349360 before ( async function ( ) {
350361 let _isThirdPartyPasswordlessSupported = await isThirdPartyPasswordlessSupported ( ) ;
@@ -386,6 +397,7 @@ describe("getRedirectionURL Tests", function () {
386397 } ) ;
387398
388399 describe ( "ThirdParty Recipe" , function ( ) {
400+ let page ;
389401 before ( async function ( ) {
390402 const coreUrl = await setupCoreApp ( ) ;
391403 await setupST ( { coreUrl } ) ;
0 commit comments