Skip to content

Commit

Permalink
Add temporary wait
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri authored and peggimann committed Jan 28, 2025
1 parent fd356c9 commit 035528d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,12 @@ export default class CyOverviewPage extends Page {
cy.contains(optionName)
.should('exist');

cy.get('.objective-three-dot-menu', { timeout: 1000 })
cy.get('.objective-three-dot-menu')
.contains(optionName)
.as('option')
.scrollIntoView()
.should('be.visible');
.should('be.visible')
.wait(100);

cy.get('@option')
.should('have.class', 'objective-menu-option')
Expand Down

0 comments on commit 035528d

Please sign in to comment.