Skip to content

Commit

Permalink
test: scroll recommended dimension in to view
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkrulltott committed Feb 23, 2024
1 parent 6f97b52 commit 3b4463d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/elements/dimensionsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const expectDimensionToNotHaveSelectedStyle = (dimensionId) =>
export const expectRecommendedIconToBeVisible = (dimensionId) =>
cy
.getBySel(getDimensionButtonById(dimensionId))
.scrollIntoView()
.findBySel(recommendedIconEl)
.should('have.length', 1)
.and('be.visible')

0 comments on commit 3b4463d

Please sign in to comment.