Skip to content

Commit

Permalink
use timeout option instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Jan 23, 2025
1 parent 6f31109 commit b3dca6b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,11 @@ export default class CyOverviewPage extends Page {
cy.contains(optionName)
.should('exist');

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

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

0 comments on commit b3dca6b

Please sign in to comment.