File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
client/landing/stepper/declarative-flow/flows/site-migration-flow/test Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -610,8 +610,8 @@ describe( 'Site Migration Flow', () => {
610
610
} ) ;
611
611
} ) ;
612
612
613
- it ( 'redirects to IMPORT_OR_MIGRATE when a site is selected and the platform is not identified' , ( ) => {
614
- const destination = runNavigation ( {
613
+ it ( 'redirects to IMPORT_LIST when a site is selected and the platform is not identified' , ( ) => {
614
+ runNavigation ( {
615
615
from : STEPS . PICK_SITE ,
616
616
dependencies : {
617
617
action : 'select-site' ,
@@ -622,11 +622,13 @@ describe( 'Site Migration Flow', () => {
622
622
} ,
623
623
} ) ;
624
624
625
- expect ( destination ) . toMatchDestination ( {
626
- step : STEPS . SITE_MIGRATION_IMPORT_OR_MIGRATE ,
625
+ expect ( window . location . assign ) . toMatchURL ( {
626
+ path : '/setup/site-setup/importList' ,
627
627
query : {
628
- siteSlug : 'example.wordpress.com' ,
628
+ backToFlow : '/site-migration/sitePicker' ,
629
+ sessionId : 123 ,
629
630
siteId : 123 ,
631
+ siteSlug : 'example.wordpress.com' ,
630
632
} ,
631
633
} ) ;
632
634
} ) ;
You can’t perform that action at this time.
0 commit comments