Skip to content

Commit

Permalink
add check if element is visable in cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel7373 committed Jan 14, 2025
1 parent 0fa9f3d commit eec5388
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ export default class CyOverviewPage extends Page {
.as('keyResults');
this.getObjectiveByName(objectiveName)
.findByTestId('three-dot-menu')
.scrollIntoView()
.should('exist')
.should('be.visible')
.click();
this.selectFromThreeDotMenu('Objective duplizieren');
Expand Down

0 comments on commit eec5388

Please sign in to comment.