@@ -20,7 +20,7 @@ describe('Search from Navigation Bar', () => {
2020 it ( 'should go to search page with correct query if submitted (from home)' , ( ) => {
2121 cy . visit ( '/' ) ;
2222 // This is the GET command that will actually run the search
23- cy . intercept ( 'GET' , '*/server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
23+ cy . intercept ( 'GET' , '** /server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
2424 // Run the search
2525 page . fillOutQueryInNavBar ( query ) ;
2626 page . submitQueryByPressingEnter ( ) ;
@@ -35,7 +35,7 @@ describe('Search from Navigation Bar', () => {
3535 it ( 'should go to search page with correct query if submitted (from search)' , ( ) => {
3636 cy . visit ( '/search' ) ;
3737 // This is the GET command that will actually run the search
38- cy . intercept ( 'GET' , '*/server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
38+ cy . intercept ( 'GET' , '** /server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
3939 // Run the search
4040 page . fillOutQueryInNavBar ( query ) ;
4141 page . submitQueryByPressingEnter ( ) ;
@@ -50,7 +50,7 @@ describe('Search from Navigation Bar', () => {
5050 it ( 'should allow user to also submit query by clicking icon' , ( ) => {
5151 cy . visit ( '/' ) ;
5252 // This is the GET command that will actually run the search
53- cy . intercept ( 'GET' , '*/server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
53+ cy . intercept ( 'GET' , '** /server/api/discover/search/objects*' ) . as ( 'search-results' ) ;
5454 // Run the search
5555 page . fillOutQueryInNavBar ( query ) ;
5656 page . submitQueryByPressingIcon ( ) ;
0 commit comments