@@ -22,7 +22,7 @@ describe('Search from Navigation Bar', () => {
2222 it ( 'should go to search page with correct query if submitted (from home)' , ( ) => {
2323 cy . visit ( '/' ) ;
2424 // This is the GET command that will actually run the search
25- cy . intercept ( 'GET' , '/server/api/discover/search/objects** ' ) . as ( 'search-results' ) ;
25+ cy . intercept ( 'GET' , '/server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
2626 // Run the search
2727 page . fillOutQueryInNavBar ( query ) ;
2828 page . submitQueryByPressingEnter ( ) ;
@@ -37,7 +37,7 @@ describe('Search from Navigation Bar', () => {
3737 it ( 'should go to search page with correct query if submitted (from search)' , ( ) => {
3838 cy . visit ( '/search' ) ;
3939 // This is the GET command that will actually run the search
40- cy . intercept ( 'GET' , '/server/api/discover/search/objects** ' ) . as ( 'search-results' ) ;
40+ cy . intercept ( 'GET' , '/server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
4141 // Run the search
4242 page . fillOutQueryInNavBar ( query ) ;
4343 page . submitQueryByPressingEnter ( ) ;
@@ -52,7 +52,7 @@ describe('Search from Navigation Bar', () => {
5252 it ( 'should allow user to also submit query by clicking icon' , ( ) => {
5353 cy . visit ( '/' ) ;
5454 // This is the GET command that will actually run the search
55- cy . intercept ( 'GET' , '/server/api/discover/search/objects** ' ) . as ( 'search-results' ) ;
55+ cy . intercept ( 'GET' , '/server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
5656 // Run the search
5757 page . fillOutQueryInNavBar ( query ) ;
5858 page . submitQueryByPressingIcon ( ) ;
0 commit comments