Skip to content

[Bug]: Chrome is automatically getting closed in the middle if any testcase got failed #33847

@Kartheeswari-git

Description

@Kartheeswari-git

Version

1.49.0

Steps to reproduce

Issue: Lets say I have 10 testcases. During the execution, for some reason testcase#5 failed and now its closing the crome and opening the new one to execute the testcase#6.

Expected behavior

It should execute testcase #6 from the same chrome where testcase#5 left instead of closing it. Its working like this in Playwright python and facing the issue with Playwright Js

Actual behavior

Its closing the chrome if any testcase got failed which is affecting all the upcoming testcases in the suite.

Additional context

No response

Environment

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz
    Memory: 5.90 GB / 19.74 GB
  Binaries:
    Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.9.1 - ~\node_modules\.bin\npm.CMD
  IDEs:
    VSCode: 1.95.3 - C:\Users\Karthee\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
  Languages:
    Bash: 5.1.4 - C:\Windows\system32\bash.EXE
  npmPackages:
    @playwright/test: ^1.49.0 => 1.49.0
    playwright: ^1.49.0 => 1.49.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions