Skip to content

[🐛 Bug]: Broken typing when following Playwright setup instructions #1270

@efstajas

Description

@efstajas

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

Node.js version

22.9.0

Operating system

macOS Sequoia 15.2

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?

Following these docs: https://docs.synpress.io/docs/setup-playwright

I get a few type-related errors:

Image

Line 10: Expected 1 arguments, but got 2.ts(2554)

Line 17-19: Property does not exist on type '{} & {} & {} & {}'.

What is your expected behavior?

No response

How to reproduce the bug.

Follow the instructions provided in https://docs.synpress.io/docs/setup-playwright

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