Skip to content

Feature Request: Add UI filter for Playwright Projects / Devices #675

@yozh150991

Description

@yozh150991

Is your feature request related to a problem? Please describe. Yes. When running a cross-device or cross-browser testing matrix using Playwright, all test results are aggregated into a single Allure report. While we can see the project/device context inside individual test execution details, it is difficult to filter the overall dashboard, suites, or graphs to see the stability of a specific device. We need an easy way to isolate failed or successful tests by the device they were run on.
Describe the solution you'd like I would like a global filter option (e.g., a dropdown or toggle button) in the Allure Report UI—specifically on the Overview, Suites, and Behaviors tabs—that allows users to filter the displayed test results by "Project" or a specific "Device" label.
Ideally, the Allure reporter would automatically parse the project.name from the test runner and expose it as a top-level filtering parameter in the generated HTML report.
Additional context We configure our devices as Playwright projects. Here is an example of our setup:

TypeScript
projects: [
{
name: Devices.Desktop,
use: {
...devices['Desktop Chrome HiDPI'],
launchOptions,
},
},
{
name: Devices.Mobile,
use: {
...devices['Pixel 7'],
viewport: { width: 412, height: 915 },
launchOptions,
},
},
{
name: Devices.MobileLandscape,
use: {
...devices['Pixel 7 landscape'],
viewport: { width: 915, height: 412 },
launchOptions,
},
},
]

When tests fail, we need to be able to quickly select
Devices.Mobile from a filter dropdown in the Allure report to see exclusively which tests failed on the Pixel 7, rather than having them mixed in with the Desktop results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions