@@ -450,7 +450,7 @@ describe('Helix Server', () => {
450450 . withCwd ( cwd )
451451 . withHttpPort ( 3000 )
452452 . withProxyUrl ( 'http://main--foo--bar.aem.page' )
453- . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack' ) ;
453+ . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack&selectAccount=true ' ) ;
454454
455455 await project . init ( ) ;
456456 project . log . level = 'silly' ;
@@ -463,7 +463,7 @@ describe('Helix Server', () => {
463463 } ) ;
464464 assert . strictEqual ( resp . status , 302 ) ;
465465 assert . ok (
466- resp . headers . get ( 'location' ) . startsWith ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack&state=' ) ,
466+ resp . headers . get ( 'location' ) . startsWith ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack&selectAccount=true& state=' ) ,
467467 ) ;
468468 } finally {
469469 await project . stop ( ) ;
@@ -476,7 +476,7 @@ describe('Helix Server', () => {
476476 . withCwd ( cwd )
477477 . withHttpPort ( 3000 )
478478 . withProxyUrl ( 'http://main--foo--bar.aem.page' )
479- . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack' ) ;
479+ . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack&selectAccount=true ' ) ;
480480
481481 await project . init ( ) ;
482482 project . log . level = 'silly' ;
@@ -509,7 +509,7 @@ describe('Helix Server', () => {
509509 . withCwd ( cwd )
510510 . withHttpPort ( 3000 )
511511 . withProxyUrl ( 'http://main--foo--bar.aem.page' )
512- . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack' ) ;
512+ . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack&selectAccount=true ' ) ;
513513
514514 await project . init ( ) ;
515515 project . log . level = 'silly' ;
@@ -591,7 +591,7 @@ describe('Helix Server', () => {
591591 . withCwd ( cwd )
592592 . withHttpPort ( 3000 )
593593 . withProxyUrl ( 'http://main--foo--bar.aem.page' )
594- . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack' ) ;
594+ . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack&selectAccount=true ' ) ;
595595
596596 await project . init ( ) ;
597597 project . log . level = 'silly' ;
@@ -637,7 +637,7 @@ describe('Helix Server', () => {
637637 . withCwd ( cwd )
638638 . withHttpPort ( 3000 )
639639 . withProxyUrl ( 'http://main--foo--bar.aem.page' )
640- . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack' ) ;
640+ . withSiteLoginUrl ( 'https://admin.hlx.page/login/bar/foo/main?client_id=aem-cli&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F.aem%2Fcli%2Flogin%2Fack&selectAccount=true ' ) ;
641641
642642 await project . init ( ) ;
643643 project . log . level = 'silly' ;
0 commit comments