microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
66.09k stars 3.61k forks source link

[Feature]: Generate trace even for codegen use #30548

Closed esther-86 closed 1 month ago

esther-86 commented 5 months ago

🚀 Feature Request

A trace is available when tests run but not when doing the code generation/manual testing. It would be great to generate the trace at code generation time so that the correlation between generated code and the UI can be easily seen without having to separately record the video during the code generation time.

Example

No response

Motivation

Playwright's code generation is the product that will enable manual testers to utilize their domain knowledge and help with the automation effort. We have manual testers record the script and devs/automation engineer transform the script into automated and reusable tests. If a trace is available, the process will be even more streamlined without the need for video recordings

pavelfeldman commented 5 months ago

If a trace is available, the process will be even more streamlined without the need for video recordings

Could you explain how trace is helpful here?

esther-86 commented 5 months ago

Yes, so, I ask manual testers to record the flow and send me the script to convert to be reusable. If there is a trace, I can see the UI at each interaction instead of having to rely on the video recording of the recording or go through the flow myself

pavelfeldman commented 1 month ago

Why was this issue closed?

Thank you for your involvement. This issue was closed due to limited engagement (upvotes/activity), lack of recent activity, and insufficient actionability. To maintain a manageable database, we prioritize issues based on these factors.

If you disagree with this closure, please open a new issue and reference this one. More support or clarity on its necessity may prompt a review. Your understanding and cooperation are appreciated.