Giter VIP home page Giter VIP logo

Comments (15)

iedgeleybistech avatar iedgeleybistech commented on June 15, 2024 8

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

from playwright.

webdevpchoi avatar webdevpchoi commented on June 15, 2024 1

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.

from playwright.

guido-visser avatar guido-visser commented on June 15, 2024 1

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.

from playwright.

bhushantbn avatar bhushantbn commented on June 15, 2024

I have also faced same problem on vs-code extension in Ubuntu 22.04.4 LTS

image

look nothing happens. before that launch it works fine but now somehow vs-code extension not execute the test.

need to close vs code every time which is very time consuming.

from playwright.

mxschmitt avatar mxschmitt commented on June 15, 2024

Bisected to:

Filed upstream bug: microsoft/vscode-js-debug#2009

Seems to be fixed in VS Code insiders.

@kora-rider could you try VSCode insiders?

from playwright.

kora-rider avatar kora-rider commented on June 15, 2024

@mxschmitt I tried VSCode insiders, but the behaviour is the same as the VSCode. I tried a plugin Playwright Test for VSCode
v1.1.1.

from playwright.

mxschmitt avatar mxschmitt commented on June 15, 2024

@kora-rider which VSCode insiders version are you using?

from playwright.

kora-rider avatar kora-rider commented on June 15, 2024

@mxschmitt The last one:

Version: 1.90.0-insider (Universal)
Commit: bbc4ba1eff648ee542972589216f211b7a6a08f2
Date: 2024-05-14T05:49:42.658Z
Electron: 29.3.1
ElectronBuildId: 9464424
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.4.0

from playwright.

mxschmitt avatar mxschmitt commented on June 15, 2024

@kora-rider could you try using the latest 18.x or latest 20.x release? These are LTS releases - while 21.0.0 is more of a very early version without bugfixes included.

See here: https://nodejs.org/en/download

from playwright.

kora-rider avatar kora-rider commented on June 15, 2024

@mxschmitt I tried to install Node 20.X LTS, but it does not help. It only works when I downgrade Playwright to version 1.42. This configuration works for me:

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

from playwright.

occo-lbl avatar occo-lbl commented on June 15, 2024

v1.1.1では、拡張パネルからテストフォルダのいずれかをクリックすると、無限ローダーが発生し、フォルダ内の実際のテストがパネルのドロップダウンに表示されないため、個々のテストをクリックして実行/デバッグすることはできません。

1.0.22に戻すと、問題が一時的に解決するようです。

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.

from playwright.

occo-lbl avatar occo-lbl commented on June 15, 2024

Bak seems to have been resolved 6 hours ago!
Please check it out!

https://github.com/microsoft/playwright-vscode/releases/tag/v1.1.2

from playwright.

mxschmitt avatar mxschmitt commented on June 15, 2024

@kora-rider could you try v1.1.4?

from playwright.

kora-rider avatar kora-rider commented on June 15, 2024

@mxschmitt I tried, but it's still the same.

from playwright.

gbmhunter avatar gbmhunter commented on June 15, 2024

v1.1.4 is still broken for me (debug won't work). Like above, reverting to v1.0.22 fixed the issue for now.

from playwright.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.