playwright: [Bug]: [Ubuntu with Snap] Tests not recognized in Test Explorer

Last Good Version

None

First Bad Version

v1.1.7

Steps to reproduce

  1. Run npm init playwright@latest --yes -- --quiet --browser=chromium --browser=firefox --browser=webkit --gha --install-deps playwright-intro (Same if you do it through Playwright VS Code extension)
  2. Open VS Code in playwright-intro directory.
  3. Switch to Testing.

Generated sources are uploaded here: https://github.com/ahmad-elkomey/err-report-playwright-regression/tree/main

Expected behavior

Project and tests are expected to be recognized and there should be green play buttons next to every test name.

Actual behavior

Project and tests are not recognized/found. No green play buttons. Screenshot from 2024-08-15 20-25-30 Screenshot from 2024-08-15_20-24

Additional context

No response

Environment

System:
   OS: Linux komey-dell 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
   CPU: x86_64. 12 CPUs.Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz

Binaries:
- npm 10.8.2
- node v22.6.0
- playwright 1.46.0
- VS Code 1.92.1 eaa41d57266683296de7d118f574d0c2652e1fc4 x64
- Playwright VS Code Extension 1.1.7

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 2
  • Comments: 31 (11 by maintainers)

Most upvoted comments

What is strange is the fact that the extension is not able to see the project’s browsers anymore There was a checkbox with the browser name, now is not there I have tried to add a new browser and nothing was displayed also

@AlexDorha any chance for the repro? Could you follow the BUG issue template and file something we can act on?

Thank you for the reply I will leave a link here with the problem https://github.com/microsoft/playwright/issues/32199