Skip to content

Commit

Permalink
cypress 04b fix
Browse files Browse the repository at this point in the history
  • Loading branch information
utku-ozturk committed Feb 12, 2024
1 parent 64aeb83 commit 2ca868c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('Post-Deployment Search View Tests', function () {
it('Starting from /search/, typing "olfactory" into searchbox redirects back to search', function () {
cy.get("a#search-menu-item").click().end()
.searchPageTotalResultCount().should('be.greaterThan', 100).then(function (origResultCount) {
return cy.get('.big-dropdown-menu-background .form-control').focus().clear().type('olfactory').end()
return cy.get('.big-dropdown-menu-background .form-control').focus().clear().type('olfactory').should('have.value', 'olfactory').end()
.get('form.navbar-search-form-container').submit().end()
.location('search').should('include', 'q=olfactory').end()
.get(".btn.btn-outline-light.w-100[data-id='global-search-button']").click().end()
Expand Down

0 comments on commit 2ca868c

Please sign in to comment.