[FEATURE] Provide the option to update RUN-Status in Reporting API

Open
#33 0 comments 2 reactions 1 assignee View on GitHub

@puagarwa is already working on this.

Since Dec 8, 2025.

Assessment

This issue has not been assessed yet.

Description

enhancement

Problem Statement
In Azure App Testing (Playwright Workspaces), we can create a Test Run using the Reporting/Data Plane API:

https://<region>.reporting.api.playwright.microsoft.com/playwrightworkspaces/<workspaceId>

Today, the create payload only accepts minimal metadata (e.g., displayName, provider), and the newly created Test Run is initialized with status RUNNING.
There is no documented way to update that existing Test Run to a terminal status (e.g., Server_Complete) and attach final run metadata after execution is finished.

Proposed Solution
Enable a PATCH operation on the Reporting API for Playwright Workspaces to update an existing Test Run’s status and final metadata.
Endpoint (data plane):
PATCH https://{region}.api.playwright.microsoft.com/playwrightworkspaces/{workspaceId}/test-runs/{runId}?api-version=

Follows the same request pattern as the current “Create or Update” Test Run operation documented for Playwright Workspaces, extended to accept status and completion details or similar.. For example.

{
"displayName": "Checkout E2E - Build 2025.12.08",
"status": "Server_Complete",
"summary": {
"total": 128,
"passed": 124,
"failed": 4,
"skipped": 0,
"durationMs": 327_940
},
}

Dominant language
No language data
Stars
14
Forks
18
Avg merge
1h 18m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/playwright-workspaces

All issues in Azure/playwright-workspaces

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.