@@ -92,7 +92,7 @@ function editDestinationViaActionMenu(
9292 mockGetDestination ( destination ) ;
9393 // Edit destination redirect
9494 ui . actionMenuItem . findByTitle ( 'Edit' ) . click ( ) ;
95- cy . url ( ) . should ( 'endWith' , `/destinations/${ destination . id } /edit ` ) ;
95+ cy . url ( ) . should ( 'endWith' , `/destinations/${ destination . id } /summary ` ) ;
9696 } ) ;
9797}
9898
@@ -181,15 +181,15 @@ describe('destinations landing checks for non-empty state', () => {
181181 } ) ;
182182 } ) ;
183183
184- it ( 'navigates to edit page when clicking destination label' , ( ) => {
184+ it ( 'navigates to summary page when clicking destination label' , ( ) => {
185185 cy . visitWithLogin ( '/logs/delivery/destinations' ) ;
186186 cy . wait ( '@getDestinations' ) ;
187187
188188 const destination = mockAkamaiObjectStorageDestinations [ 0 ] ;
189189 mockGetDestination ( destination ) . as ( 'getDestination' ) ;
190190
191191 cy . findByText ( destination . label ) . click ( ) ;
192- cy . url ( ) . should ( 'endWith' , `/destinations/${ destination . id } /edit ` ) ;
192+ cy . url ( ) . should ( 'endWith' , `/destinations/${ destination . id } /summary ` ) ;
193193 cy . wait ( '@getDestination' ) ;
194194 } ) ;
195195
@@ -255,7 +255,7 @@ describe('destinations landing checks for non-empty state', () => {
255255 mockGetDestination ( destination ) . as ( 'getDestination' ) ;
256256
257257 cy . findByText ( destination . label ) . click ( ) ;
258- cy . url ( ) . should ( 'endWith' , `/destinations/${ destination . id } /edit ` ) ;
258+ cy . url ( ) . should ( 'endWith' , `/destinations/${ destination . id } /summary ` ) ;
259259 cy . wait ( '@getDestination' ) ;
260260 } ) ;
261261
0 commit comments