UiPath Documentation
test-manager
latest
false
Test Manager 用户指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Configuring artifact capture for Playwright tests

Enable screenshots, videos, or traces on Playwright test results in Test Manager by updating your project's playwright.config.ts.

备注:

This capability is in controlled availability, delivered only to eligible tenants. It is available in Test Manager only when delivered through Test Cloud.

Get screenshots, videos, or traces to appear on your Playwright test results in Test Manager, if they aren't showing up by default. For why this configuration lives in your project rather than in Test Manager, see How Playwright artifact capture works.

先决条件

  • A Playwright automation already selected for a test case. See Selecting automation.
  • At least one execution already attempted.

步骤

  1. Open the project's playwright.config.ts.

  2. Add or update the use: block to enable the artifact type you want, for example:

    use: { trace: 'on' }
    use: { trace: 'on' }
    

    Replace trace with screenshot or video as needed.

  3. Republish the package to Orchestrator.

  4. Run the test again.

结果

The next execution includes the newly enabled artifact type, visible on the execution's Attempts and Trace tabs.

  • 先决条件
  • 步骤
  • 结果
  • 相关内容

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新