Skip to content

[Bug]: Trace viewer is blank after Angular version update #39168

@aleksdobrev-momentus

Description

@aleksdobrev-momentus

Version

1.56.1

Steps to reproduce

I'm experiencing a problem with the Trace viewer where the page under test isn't shown, and you can't clearly follow the steps of the test. It shows only fragments of the page UI.

Precondition - Execute the test with the Playwright VS Code extension with the setting Show trace viewer - On.

  1. Start an E2E test by clicking the green play button on the test itself.
  2. Check the trace viewer that appears.

Note: The same issue is observed if I try to view the trace by opening it from the Test Report that is generated after the execution.

Expected behavior

The trace viewer should show the page and its elements.

Image Image

Actual behavior

The trace viewer is blank; it is showing only fragments of the page UI.

Image Image

Additional context

I've executed the same test on two different versions of the page under test.
The one where the trace shows correctly uses Angular 18.2.13.
The one where the trace appears broken uses Angular 21.1.2.

Tried with Chromium and Firefox, and the result is the same.
Updated Playwright to the latest version, but that broke the trace on every environment I use, so I decided to revert to 1.56.1.

Environment

Playwright version: 1.56.1
Angular version with which it was working ok: 18.2.13
Angular version with which the issue is observed: 21.1.2

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