@@ -92,7 +92,7 @@ describe('Browsing', () => {
92
92
cy . get ( 'input.search-bar' ) . type ( 'test' )
93
93
// Press the search button
94
94
cy . get ( 'button.search-button' ) . click ( )
95
- // The new url should include "/browse" as well as the query
95
+ // The new url should include the query
96
96
cy . url ( ) . should ( 'include' , '/browse?q=test' )
97
97
// The search bar on the browse page should have the text that was searched for
98
98
cy . get ( 'input.search-bar' ) . should ( 'have.value' , 'test' )
@@ -108,7 +108,7 @@ describe('Browsing', () => {
108
108
cy . get ( 'input.search-bar' ) . type ( 'asdfghjk' )
109
109
// Press the search button
110
110
cy . get ( 'button.search-button' ) . click ( )
111
- // The new url should include "/browse"
111
+ // The new url should include the query
112
112
cy . url ( ) . should ( 'include' , '/browse?q=asdfghjk' )
113
113
// The search bar on the browse page should have the text that was searched for
114
114
cy . get ( 'input.search-bar' ) . should ( 'have.value' , 'asdfghjk' )
@@ -153,7 +153,7 @@ describe('Browsing', () => {
153
153
cy . get ( 'input.search-bar' ) . type ( 'test' )
154
154
// Press the search button
155
155
cy . get ( 'button.search-button' ) . click ( )
156
- // The new url should include "/browse"
156
+ // The new url should include the query
157
157
cy . url ( ) . should ( 'include' , '/browse?q=test' )
158
158
// The search bar on the browse page should have the text that was searched for
159
159
cy . get ( 'input.search-bar' ) . should ( 'have.value' , 'test' )
0 commit comments