@@ -43,13 +43,13 @@ describe('test org:open command', () => {
4343 defaultUserOrgId = defaultOrg . orgId as string ;
4444 } ) ;
4545
46- it ( 'should produce the default URL for a flexipage resource when it not in org in json' , ( ) => {
46+ it ( 'should produce the frontdoor default URL for a flexipage resource when it not in org in json' , ( ) => {
4747 const result = execCmd < OrgOpenOutput > ( `force:source:open -f ${ flexiPagePath } --urlonly --json` , {
4848 ensureExitCode : 0 ,
4949 } ) . jsonOutput ?. result ;
5050 assert ( result ) ;
5151 expect ( result ) . to . include ( { orgId : defaultUserOrgId , username : defaultUsername } ) ;
52- expect ( result . url ) . to . include ( 'lightning/setup/FlexiPageList/home ' ) ;
52+ expect ( result . url ) . to . include ( 'secur/frontdoor.jsp ' ) ;
5353 } ) ;
5454
5555 it ( 'should produce the URL for a flexipage resource in json' , async ( ) => {
@@ -63,7 +63,7 @@ describe('test org:open command', () => {
6363 } ) . jsonOutput ?. result ;
6464 assert ( result ) ;
6565 expect ( result ) . to . include ( { orgId : defaultUserOrgId , username : defaultUsername } ) ;
66- expect ( result . url ) . to . include ( '/visualEditor/appBuilder.app?pageId ' ) ;
66+ expect ( result . url ) . to . include ( 'secur/frontdoor.jsp ' ) ;
6767 } ) ;
6868
6969 it ( 'should produce the URL for an existing flow' , ( ) => {
@@ -72,7 +72,7 @@ describe('test org:open command', () => {
7272 } ) . jsonOutput ?. result ;
7373 assert ( result ) ;
7474 expect ( result ) . to . include ( { orgId : defaultUserOrgId , username : defaultUsername } ) ;
75- expect ( result . url ) . to . include ( '/builder_platform_interaction/flowBuilder.app?flowId=301 ' ) ;
75+ expect ( result . url ) . to . include ( 'secur/frontdoor.jsp ' ) ;
7676 } ) ;
7777
7878 it ( "should produce the org's frontdoor url when edition of file is not supported" , async ( ) => {
0 commit comments