Skip to content

[Regression]: VSCode extension closes browser after test #30779

@pietdevries94

Description

@pietdevries94

Last Good Version

1.0.22

First Bad Version

1.1.1

Steps to reproduce

  1. Enable show browser
  2. Run a test

Expected behavior

The browser stays open after running the test.

Actual behavior

The test runs, but it closes the browser right away.

Additional context

This change was not mentioned in the changelog. If this is deliberate, please add an option to keep the browser open.

The environment given here is mine, but my colleague has the same issue on Windows.

Environment

System:
    OS: Linux 6.1 NixOS 23.11 (Tapir) 23.11 (Tapir)
    CPU: (16) x64 AMD Ryzen 9 5900HX with Radeon Graphics
    Memory: 11.29 GB / 27.27 GB
    Container: Yes
  Binaries:
    Node: 20.12.2 - /nix/store/71r8n7ckcpvav9qwshlr12hjd5nlchds-nodejs-20.12.2/bin/node
    npm: 10.5.0 - /nix/store/71r8n7ckcpvav9qwshlr12hjd5nlchds-nodejs-20.12.2/bin/npm
    pnpm: 8.15.5 - /nix/store/16s3dlkk4n6h9nh6mfp77fcm6gll0m5l-pnpm-8.15.5/bin/pnpm
  IDEs:
    VSCode: 1.89.1 - /etc/profiles/per-user/piet/bin/code
  Languages:
    Bash: 5.2.26 - /nix/store/h3bhzvz9ipglcybbcvkxvm4vg9lwvqg4-bash-5.2p26/bin/bash
  npmPackages:
    @playwright/test: ^1.44.0 => 1.44.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions