File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
cypress/e2e/english/search-results Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import commonExpectedMeta from '../../../fixtures/common-expected-meta.json';
33// Tests here should apply to search result page meta, regardless of the source
44describe ( 'Landing metadata' , ( ) => {
55 beforeEach ( ( ) => {
6- cy . visit ( '/search/?query=mock%20search%20results ' ) ;
6+ cy . visit ( '/search/' ) ;
77 } ) ;
88
99 it ( '<title>' , ( ) => {
Original file line number Diff line number Diff line change @@ -8,12 +8,7 @@ const selectors = {
88// Tests here should apply to all search results pages, which are built dynamically from calls to Algolia
99describe ( 'Search results' , ( ) => {
1010 beforeEach ( ( ) => {
11- // Note: 11ty's dev server expects a trailing slash
12- // immediately after `/search`, before the `query` URL
13- // parameter. This does not happen on production since we
14- // don't redirect from the non-trailing slash version of the
15- // page to the trailing slash version
16- cy . visit ( '/search/?query=mock%20search%20results' ) ;
11+ cy . visit ( '/search/' ) ;
1712 } ) ;
1813
1914 it ( 'should render basic components' , ( ) => {
You can’t perform that action at this time.
0 commit comments