Skip to content

[Bug]: VS code extension says: No Playwright tests found. #41601

Description

@Sbrjt

Version

1.61.1

Steps to reproduce

  1. Clone my repo at https://github.com/Sbrjt/playwright
  2. npm install
  3. npx playwright test
  4. The tests run from terminal, but the vscode extension says "No Playwright tests found."

If I open in Kiro I can see the tests tho.

Expected behavior

Works in Kiro (based on VS Code 1.107.1)

Image

Actual behavior

Not working in VS Code

Image

Additional context

No response

Environment

System:
    OS: Windows 11 10.0.26200
    CPU: (18) x64 Intel(R) Core(TM) Ultra 5 125H
    Memory: 271.54 MB / 15.61 GB
  Binaries:
    Node: 24.13.0 - C:\nvm4w\nodejs\node.EXE
    npm: 11.14.1 - C:\nvm4w\nodejs\npm.CMD
  IDEs:
    VSCode: 1.126.0 - C:\Program Files\Microsoft VS Code\bin\code.CMD
  npmPackages:
    @playwright/test: ^1.61.1 => 1.61.1

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions