From 2ca868c84edc6bb9876916f30e0ddd8b247e15e9 Mon Sep 17 00:00:00 2001 From: utku-ozturk Date: Mon, 12 Feb 2024 12:06:21 +0300 Subject: [PATCH] cypress 04b fix --- deploy/post_deploy_testing/cypress/e2e/04b_search_views.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/post_deploy_testing/cypress/e2e/04b_search_views.cy.js b/deploy/post_deploy_testing/cypress/e2e/04b_search_views.cy.js index bdce69363d..536eda48bf 100644 --- a/deploy/post_deploy_testing/cypress/e2e/04b_search_views.cy.js +++ b/deploy/post_deploy_testing/cypress/e2e/04b_search_views.cy.js @@ -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()