@@ -317,7 +317,7 @@ export function getThirdPartyTestCases({ authRecipe, rid, signInUpPageLoadLogs,
317317 // ]);
318318 // });
319319
320- it ( "field error on sign in up with translation key" , async function ( ) {
320+ it ( "general error on sign in up with translation key" , async function ( ) {
321321 await Promise . all ( [
322322 page . goto ( `${ TEST_CLIENT_BASE_URL } /auth` ) ,
323323 page . waitForNavigation ( { waitUntil : "networkidle0" } ) ,
@@ -335,8 +335,8 @@ export function getThirdPartyTestCases({ authRecipe, rid, signInUpPageLoadLogs,
335335 "access-control-allow-credentials" : "true" ,
336336 } ,
337337 body : JSON . stringify ( {
338- status : "FIELD_ERROR " ,
339- error : "AUTH_PAGE_FOOTER_TOS" ,
338+ status : "GENERAL_ERROR " ,
339+ message : "AUTH_PAGE_FOOTER_TOS" ,
340340 } ) ,
341341 } ) ;
342342 page . off ( "request" , requestHandler ) ;
@@ -352,7 +352,7 @@ export function getThirdPartyTestCases({ authRecipe, rid, signInUpPageLoadLogs,
352352 assert . deepStrictEqual ( error , "TOS" ) ;
353353 } ) ;
354354
355- it ( "field error on sign in up with non-translation key" , async function ( ) {
355+ it ( "general error on sign in up with non-translation key" , async function ( ) {
356356 await Promise . all ( [
357357 page . goto ( `${ TEST_CLIENT_BASE_URL } /auth` ) ,
358358 page . waitForNavigation ( { waitUntil : "networkidle0" } ) ,
@@ -370,8 +370,8 @@ export function getThirdPartyTestCases({ authRecipe, rid, signInUpPageLoadLogs,
370370 "access-control-allow-credentials" : "true" ,
371371 } ,
372372 body : JSON . stringify ( {
373- status : "FIELD_ERROR " ,
374- error : "Test message!!!!" ,
373+ status : "GENERAL_ERROR " ,
374+ message : "Test message!!!!" ,
375375 } ) ,
376376 } ) ;
377377 page . off ( "request" , requestHandler ) ;
0 commit comments