File tree Expand file tree Collapse file tree
packages/b2c-cli/test/functional/e2e Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ describe('MRT Lifecycle E2E Tests', function () {
166166 expect ( result . exitCode , `Org B2C command failed: ${ result . stderr } ` ) . to . equal ( 0 ) ;
167167
168168 const response = parseJSONOutput ( result ) ;
169- expect ( response ) . to . have . property ( 'b2cInfo ' ) ;
169+ expect ( response ) . to . have . property ( 'is_b2c_customer ' ) ;
170170 } ) ;
171171 } ) ;
172172
@@ -354,7 +354,12 @@ describe('MRT Lifecycle E2E Tests', function () {
354354 // Skip if 404 (some environments may not have B2C connection configured)
355355 if ( result . exitCode !== 0 ) {
356356 const errorText = String ( result . stderr || result . stdout || '' ) ;
357- if ( errorText . includes ( '404' ) || errorText . includes ( 'Not found' ) ) {
357+ if (
358+ errorText . includes ( '404' ) ||
359+ errorText . includes ( 'Not found' ) ||
360+ errorText . includes ( 'No B2CTargetInfo matches the given query' ) ||
361+ errorText . includes ( 'Failed to get B2C target info' )
362+ ) {
358363 console . log ( ' ⚠ B2C target info not available for this environment, skipping' ) ;
359364 this . skip ( ) ;
360365 }
You can’t perform that action at this time.
0 commit comments