diff --git a/templates/incl/menubar.html b/templates/incl/menubar.html index 4c2c61fa2ca..ea3a64c937d 100644 --- a/templates/incl/menubar.html +++ b/templates/incl/menubar.html @@ -54,7 +54,7 @@ -
diff --git a/tests/cypress/e2e/home_page/language_search/language_choices_exist.cy.js b/tests/cypress/e2e/home_page/language_search/language_choices_exist.cy.js index 0b9ee691ba1..37c893b2fd7 100644 --- a/tests/cypress/e2e/home_page/language_search/language_choices_exist.cy.js +++ b/tests/cypress/e2e/home_page/language_search/language_choices_exist.cy.js @@ -4,9 +4,13 @@ describe('Language choice button', () => { it('passes', () => { goToHome(); cy.get('.dropdown > .menubar-text').click(); + cy.get('#language_dropdown').should('be.visible'); cy.get('.language').each(($el) => { - cy.wrap($el).should('be.visible').should('be.not.empty').should('be.not.disabled'); - }) + cy.wrap($el).scrollIntoView({ easing: 'linear', duration: 100 }) + .should('be.visible') + .should('be.not.empty') + .should('be.not.disabled'); + }) }) -}); +}); \ No newline at end of file