Skip to content

[🐛 Bug]: Metamask test fails when using playwright UI #1284

@kr-keshav-kk

Description

@kr-keshav-kk

🔎 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.0.10

Node.js version

v22.11.0

Operating system

15.0

Run mode

Playwright + Synpress (as plugin)

CI platform (if applicable)

No response

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

  • This issue could be related to docker.

What happened?

I am using playwright + synpress in sveltekit.
When running the playwright, for metamask test in UI mode then the tests fail, while running on console it works.
This is the error log that i get:
Error: page.goto: Protocol error (Page.navigate): Cannot navigate to invalid URL Call log: - navigating to "/", waiting until "load".

What is your expected behavior?

No response

How to reproduce the bug.

Use sveltekit,
playwright+ synpress,
try running a basic metamask connection test in playwright UI mode.
The test will fail.

Relevant log output

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