UiPath Documentation
test-manager
latest
false
Guide de l'utilisateur de Test Manager
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

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.

Remarque :

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.

Prérequis

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

Étapes

  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.

Résultat

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

  • Prérequis
  • Étapes
  • Résultat
  • Associé

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour