Skip to content

Commit 37fc926

Browse files
committed
update comments
1 parent b4c8e2d commit 37fc926

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/browse.cy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe('Browsing', () => {
9292
cy.get('input.search-bar').type('test')
9393
// Press the search button
9494
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
9696
cy.url().should('include', '/browse?q=test')
9797
// The search bar on the browse page should have the text that was searched for
9898
cy.get('input.search-bar').should('have.value', 'test')
@@ -108,7 +108,7 @@ describe('Browsing', () => {
108108
cy.get('input.search-bar').type('asdfghjk')
109109
// Press the search button
110110
cy.get('button.search-button').click()
111-
// The new url should include "/browse"
111+
// The new url should include the query
112112
cy.url().should('include', '/browse?q=asdfghjk')
113113
// The search bar on the browse page should have the text that was searched for
114114
cy.get('input.search-bar').should('have.value', 'asdfghjk')
@@ -153,7 +153,7 @@ describe('Browsing', () => {
153153
cy.get('input.search-bar').type('test')
154154
// Press the search button
155155
cy.get('button.search-button').click()
156-
// The new url should include "/browse"
156+
// The new url should include the query
157157
cy.url().should('include', '/browse?q=test')
158158
// The search bar on the browse page should have the text that was searched for
159159
cy.get('input.search-bar').should('have.value', 'test')

0 commit comments

Comments
 (0)