🌐 AI搜索 & 代理 主页
Skip to content

Playwright Trace not show in python (trace attachment#2964) #1359

@ofirlupa

Description

@ofirlupa

I saw that you added the option to display the trace report directly from the Allure report.
pw trace attachment#2964
https://github.com/allure-framework/allure2/pull/2964/commits

I downloaded version Allure 2.35.1, and I don’t see the option in the report.

This is how I attach the report, and it’s only available for download.
See the code.

test_name = request.node.name trace_path = "trace.zip" browser_context.tracing.stop(path=trace_path) allure.attach.file(trace_path,name=test_name + ".zip",attachment_type="playwright-trace")

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