Skip to content

Commit afbd342

Browse files
committed
updated review comments
1 parent 43bac40 commit afbd342

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/integration/first_tests.specs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ describe(`My first test`, () => {
2121
})
2222

2323
it('Should test all other subheadings', () => {
24-
cy.get('div.dsb-suggestion:nth-child(2)') // the second entry should be "Quick start"
24+
cy.get('div.dsb-suggestion:nth-child(2)') // the second entry should be "Download and launch"
2525
.contains('Download and launch')
26-
cy.get('div.dsb-suggestion:nth-child(3)') // the third entry should be "Quick start"
26+
cy.get('div.dsb-suggestion:nth-child(3)') // the third entry should be "Add documents"
2727
.contains('Add documents')
2828
})
2929

@@ -38,7 +38,7 @@ describe(`My first test`, () => {
3838
it('Should display a no results message when search results are empty', () => {
3939
cy.get('#docs-searchbar-suggestion').type(' empty results')
4040
cy.get('#meilisearch-autocomplete-listbox-0').should('be.visible')
41-
cy.get('div.docs-searchbar-suggestion') // the first entry should be "Quick start"
41+
cy.get('div.docs-searchbar-suggestion') // No Results message should be displayed instead
4242
.contains('No results found for query')
4343
})
4444
})

0 commit comments

Comments
 (0)