Azure / Azure/playwright-workspaces

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

Open
#33 0 comments 2 reactions 1 assignee Claimed by @puagarwa View on GitHub
enhancement
Dominant language
No language data
Stars
14
Forks
18
Avg merge
1h 18m
Merged PRs (30d)
2

Description

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

_https://\.reporting.api.playwright.microsoft.com/playwrightworkspaces/\_

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
},
}_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.