Skip to content

[Bug]: Response body in trace viewer shows empty after some idle time #37421

@cpAdm

Description

@cpAdm

Version

1.55.0

Steps to reproduce

  1. Given you start a test in UI mode (or load trace in trace viewer)
  2. And you go to the network tabs
  3. And you open the body subtab for some response (this loads fine)
  4. And you now switch browser tab
  5. And wait some minutes
  6. And you go back to the Playwright browser tab
  7. Then opening any response body shows <Empty>

Expected behavior

While expected to see the response body.

Actual behavior

Seeing <Empty> (which is really annoying, especially if the test has a large duration, which now has to be started again, just to see some network response)

Image

And console (network) errors for the sha1 network requests:
Failed to load resource: the server responded with a status of 404 ()

Additional context

No response

Environment

System:
  OS: Linux 6.6 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
  CPU: (12) x64 Intel(R) Core(TM) i5-10505 CPU @ 3.20GHz
  Memory: 10.39 GB / 23.47 GB
  Container: Yes
Binaries:
  Node: 22.15.1 - /usr/bin/node
  Yarn: 1.22.22 - /usr/bin/yarn
  npm: 10.9.2 - /usr/bin/npm
  pnpm: 10.15.0 - /usr/bin/pnpm
npmPackages:
  @playwright/test: ^1.55.0 => 1.55.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