From 22a3a336347b0f713a73c954f853669b42f81d20 Mon Sep 17 00:00:00 2001 From: Jannik Pulfer Date: Mon, 18 Nov 2024 15:51:52 +0100 Subject: [PATCH] Bring back scroll into view --- .../cypress/support/helper/pom-helper/pages/overviewPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cypress/support/helper/pom-helper/pages/overviewPage.ts b/frontend/cypress/support/helper/pom-helper/pages/overviewPage.ts index 3145ac88fa..fe8a3b464b 100644 --- a/frontend/cypress/support/helper/pom-helper/pages/overviewPage.ts +++ b/frontend/cypress/support/helper/pom-helper/pages/overviewPage.ts @@ -105,7 +105,7 @@ export default class CyOverviewPage extends Page { selectFromThreeDotMenu(optionName: string) { cy.contains(optionName).should('exist'); - const chainable = cy.get('.objective-three-dot-menu').contains(optionName); + const chainable = cy.get('.objective-three-dot-menu').contains(optionName).scrollIntoView(); chainable.should('have.class', 'objective-menu-option'); chainable.click(); }