Synthetixio / synpress

Synpress is e2e testing framework based on Cypress.io and playwright with support for metamask.
https://synpress.io
MIT License
590 stars 188 forks source link

[🐛 Bug]: waiting for locator('[data-testid=account-options-menu-button]').first() #1127

Open nadiia-palaida opened 5 months ago

nadiia-palaida commented 5 months ago

🔎 Have you searched existing issues to avoid duplicates?

🧪 Have you tested your code using latest version of Synpress?

💡 Are you able to provide enough information to be able to reproduce your issue locally?

Synpress version

3.7.2-beta.10

Node.js version

18.20.2

Operating system

Ubuntu 22.04.4 LTS

Run mode

Playwright + Synpress (as plugin)

CI platform (if applicable)

No response

Are you running your tests inside docker? (if applicable)

What happened?

Sometimes this modal is displayed and an error occurs as a result.

 waiting for locator('[data-testid=account-options-menu-button]').first()
  -   locator resolved to <button title="Account options" data-testid="account-opt…></button>
  - attempting click action
  -   waiting for element to be visible, enabled and stable
  -   element is visible, enabled and stable
  -   scrolling into view if needed
  -   done scrolling

e1718521e697be3017e8a5445fab4e27.webm

What is your expected behavior?

No response

How to reproduce the bug.

I don't know how to reproduce it, because sometimes it appears, sometimes not.

Relevant log output

No response