Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Playwright VSCode plugin ignores headless property #34336

Closed
marlowp opened this issue Jan 15, 2025 · 0 comments · Fixed by microsoft/playwright-vscode#596
Closed

[Bug]: Playwright VSCode plugin ignores headless property #34336

marlowp opened this issue Jan 15, 2025 · 0 comments · Fixed by microsoft/playwright-vscode#596
Assignees
Labels

Comments

@marlowp
Copy link

marlowp commented Jan 15, 2025

Version

1.49.1

Steps to reproduce

  1. Set the headless property to false in the use section of a standard config in playwright.config.ts.
  2. Use the Playwright Test for VSCode extension to run an individual test from the Testing > Test Explorer panel.
  3. Observe that the test is still executed in headless mode.

I've tracked back through the versions of Playwright to see at what point this has broken and it works as expected in 1.48.0 but is broken in 1.48.1 and above. Looking at the Release Notes for 1.48.1 it maybe related to the fix for #33023?

Executing tests from the command line via npx playwright test does respond correctly to the headless property.

Expected behavior

The tests executed from the Playwright Test for VSCode extension adhere to the headless property.

Actual behavior

The tests executed from the Playwright Test for VSCode extension ignore the headless property.

Additional context

No response

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-1370P
    Memory: 16.45 GB / 31.69 GB
  Binaries:
    Node: 23.6.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    VSCode: 1.96.3 - C:\Users\peter.marlow\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
  npmPackages:
    @playwright/test: ^1.49.1 => 1.49.1
@marlowp marlowp changed the title [Bug]: [BUG] Playwright VSCode plugin ignores headless property [Bug]: Playwright VSCode plugin ignores headless property Jan 15, 2025
yury-s added a commit to yury-s/playwright-vscode that referenced this issue Jan 15, 2025
@yury-s yury-s self-assigned this Jan 15, 2025
@yury-s yury-s added the v1.50 label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants