Comments (9)
The v1.1.1 release of the VSCode Playwright Extension seems to be the culprit. Rolling back to the previous version brings back debugging.
from playwright.
I have also faced same problem on vs-code extension in Ubuntu 22.04.4 LTS
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.
Bisected to:
- b41b802...da2b099
- 1.43.0-alpha-2024-03-20 bad
- 1.43.0-alpha-2024-03-19 good
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.
@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.
@kora-rider which VSCode insiders version are you using?
from playwright.
@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.
@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.
@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.
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.
Related Issues (20)
- [Bug]: .env file bypassed in debug mode 1.1.1 HOT 2
- [Feature]: Trace viewer: When using multiple browsers, I would like to see which browser is making which HTTP request HOT 1
- Video testing is not working on playwright HOT 4
- [Bug]: JUnit report contains invalid character in logs HOT 2
- [Bug]: Running issues in debug does not work and ends up in multiple different situations. HOT 4
- [Bug]: 1.44.0 automatically closes the browser on test end (even with reuseBrower:true) HOT 2
- Can't run tests in debug mode HOT 11
- [Bug]: Test info attached in html report in wrong format HOT 1
- [Feature]: receive parameters in `test.describe()` HOT 1
- Target page, context or browser has been closed HOT 1
- [Bug]: Unable to view the right context on Traces and Videos
- [Bug]: Playwright Extension Test Explorer cannot find setup.ts files HOT 2
- [Bug]: Updated to Playwright Test for VSCode v1.1.1 and all test except one dissappeared from Test Explorer view HOT 2
- [Bug]: Can't run tests with the extension (no Browser will be opend) HOT 3
- [Bug]: Setting a different locale does not work as expected HOT 4
- [Regression]: Playwright Test for VSCode can't find *.spec.ts files HOT 8
- [Bug]: "waitForResponse" always fails on firefox HOT 1
- [Bug]: Using force:true to click on an element overlapped by another element will not click or error out HOT 1
- [Bug]: Using test.fail() does not actually fail the test HOT 2
- [Bug]: Locators are in Playwright provided is not Detecting when we run same Scripts again HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright.