playwright: Regression: Debugging in Playwright Test for VSCode does not work anymore

Version

Since 1.43.0 and also in 1.44.0

Steps to reproduce

Precondition: clone repo https://github.com/kora-rider/Playwright_testing

  1. Put the breakpoint in VSCode to any row in the test file with the name “TC001_úspěšné_přihlášení.spec.ts”
  2. Run debug

note: In case there is no breakpoint it runs well

Expected behavior

Run the browser and stop the test on a certain breakpoint.

Actual behavior

The browser does not run and the VSCode plugin gets stuck, even not possible to stop the debugging.

Additional context

No response

Environment

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 61.38 MB / 16.00 GB
  Binaries:
    Node: 21.0.0 - /opt/homebrew/bin/node
    npm: 10.7.0 - /opt/homebrew/bin/npm
  Languages:
    Bash: 3.2.57 - /bin/bash
  npmPackages:
    @playwright/test: ~1.44.0 => 1.44.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

The v1.1.1 release of the VSCode Playwright Extension seems to be the culprit. Rolling back to the previous version brings back debugging.

image

In my case, if I stop running tests from the vscode extension while debugging is running, I end up in an infinite loader state. To resolve this condition, I need to restart vscode.

Experiencing the same issue here. Ctrl/Cmd + Shift + P -> Reload Window is a workaround, but it’s very annoying. Or just revert the extension back to version 1.0.22, like mentioned above.

Confirming the same - on v1.1.1, clicking any of the test folders from the extension panel results in an infinite loader and the actual tests in the folder do not appear in the dropdown in the panel and therefore cannot click each individual test to run/debug.

Reverting back to an 1.0.22 seems to resolve the problem temporarily.