Skip to content

Commit

Permalink
Bring back scroll into view
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomTannenbaum committed Nov 18, 2024
1 parent cc1bbff commit 22a3a33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 22a3a33

Please sign in to comment.