Skip to content

Commit

Permalink
Add temporary wait
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Jan 23, 2025
1 parent b3dca6b commit 509ef3a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,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 509ef3a

Please sign in to comment.