Skip to content

[Bug]: Tags with space are not properly displayed in UI #36548

@buti1021

Description

@buti1021

Version

1.53.2

Steps to reproduce

Execute a test with a space in the tag, e.g.:

import test, { expect } from "@playwright/test";
test( "Test with space in tag", { tag: ["@tag with space"], }, async () => { expect(true).toBe(true); }, );

Look at the report

Image

Expected behavior

Expect tag to be fully displayed and not truncated after the space

Actual behavior

Only part of the tag until first space is displayed

Additional context

No response

Environment

System:
    OS: Linux 5.15 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
    Memory: 11.98 GB / 15.48 GB
    Container: Yes
  Binaries:
    Node: 23.11.0 - /run/user/1000/fnm_multishells/4079_1751527417571/bin/node
    npm: 11.3.0 - /run/user/1000/fnm_multishells/4079_1751527417571/bin/npm
  IDEs:
    VSCode: 1.101.0 - /home/tim/.vscode-server/bin/dfaf44141ea9deb3b4096f7cd6d24e00c147a4b1/bin/remote-cli/code
  Languages:
    Bash: 5.2.21 - /usr/bin/bash
  npmPackages:
    @playwright/test: ^1.53.2 => 1.53.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions