Skip to content

[πŸ› Bug]: Hanging on metamask loginΒ #1307

@mathijs81

Description

@mathijs81

πŸ”Ž Have you searched existing issues to avoid duplicates?

  • I have made sure that my issue is not a duplicate.

πŸ§ͺ 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?

  • I can provide enough details to reproduce my issue on local environment.

Synpress version

4.1.2

Node.js version

v22.18.0

Operating system

Ubuntu 24.04

Run mode

Playwright + Synpress (as plugin)

CI platform (if applicable)

None

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

  • This issue could be related to docker.

What happened?

Metamask keeps opening in a new tab to sign in. I can see that it successfully signed into on the first tab, but it seems this state doesn't get 'remembered' for the other tabs?

One thing I also noticed is that the chromium used to build the cache is a different one than for the test. This is maybe because synpress is still using playwright 1.48.2 and I'm now using 1.57.0? I also tried with setting everything to 1.48.2, but this had the exact same problem.

I have a minimal reproduction repository here: https://github.com/mathijs81/synpress-minimal-reproduction

I also tried the example playwriht-synpress, but this also had the same issue for me.

What is your expected behavior?

In my repo, the test should just work.

How to reproduce the bug.

See https://github.com/mathijs81/synpress-minimal-reproduction

Relevant log output

[getNotificationPageAndWaitForLoad] Failed to get notification page, retrying (attempt 1/2)...
[getNotificationPageAndWaitForLoad] Failed to get notification page, retrying (attempt 2/2)...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions