-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
Observed behaviour
Error during a run of sample 16912_4:
context.tracing.stop()
> context.tracing.export(trace_path)
E AttributeError: 'Tracing' object has no attribute 'export'
issues/16912_4/user_tool.py:68: AttributeError
=========================== short test summary info ============================
FAILED issues/16912_4/user_tool.py::test_unknown_user_profile_load_offline - ...
============================== 1 failed in 51.69s ==============================
The trace file is not written to the container at "/app/expensify/user_tool/output_browser1.zip"
Several of the user_tool.py files in swelancer call context.tracing.export(export_path), which is calling export() on a playwright Tracing object.
The version of playwright installed in the docker containers is 1.47.0, pinned in requirements.txt
The first commit that introduced tracing in playwright-python included Tracing.export(), but this was removed before the release of v1.12.0 and has not been restored.
The equivalent call for v1.47.0 would be context.tracing.stop(path=trace_path) docs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels