Dev & Engineering ✓ Microsoft · Official playwrightazure-playwrighttypescriptbrowser-testingci-cdentra-idtest-reporting

Azure Playwright Cloud Testing

Scale TypeScript Playwright tests on Azure-hosted browsers and publish results.

FollowSkills review · FSRS-2.0
Not recommended
53/ 100 5-point scale 2.7 / 5
Trust17 / 25 · 3.4/5

The document recommends Microsoft Entra credentials, requires an explicit credential parameter, and shows OIDC plus read-only contents permissions in GitHub Actions, providing some least-privilege and authentication guidance. It does not explain the detailed data flows for cloud browsers, test targets, or portal reports, nor sensitive-data handling, user confirmation, isolation, or rollback, so points are deducted.

Reliability8 / 20 · 2.0/5

Installation, authentication, service configuration, execution, reporting, manual connection, and migration paths are broadly consistent, with timeout and version requirements documented. However, diagnostic and recovery guidance for authentication, network, quota, regional availability, and configuration failures is thin, and static review cannot verify API executability, so the score is conservative.

Adaptability10 / 15 · 3.3/5

The target scenario is clear: TypeScript Playwright tests using cloud-hosted browsers, CI/CD, and Azure portal reporting, with examples for GitHub Actions and Azure Pipelines. Non-fit scenarios, input/output boundaries, compliance limits, and trigger exclusions are not specified; Chinese-language support is unaddressed, and the core service depends on Azure network reachability without mainland-China evidence, so points are deducted.

Convention9 / 15 · 3.0/5

The skill has front matter, MIT licensing, a version, installation guidance, environment variables, typed options, a migration table, and best practices, with readable structure. It lacks a changelog, explicit maintenance owner and update path, FAQ, systematic limitations, and fuller parameter provenance, so it does not receive full marks.

Effectiveness6 / 15 · 2.0/5

Examples cover service configuration, parallel execution, the Azure reporter, manual connection, CI integration, and migration from the retired package, making the core task plausibly actionable. There is no skill-specific reproducible example, committed test coverage, or real execution result, and project, permission, and service setup still require review; the static ceiling therefore limits the score.

Verifiability3 / 10 · 1.5/5

Specific package names, environment variables, commands, code samples, and migration mappings provide some auditability. The supplied material contains no dedicated tests, CI coverage, or third-party execution evidence for this skill path; repository-level harness material does not establish reproduction of its key paths, so only limited credit is justified.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Cloud browsers and Azure portal reporting may encounter test pages, credential-related context, or test artifacts; confirm residency, redaction, access controls, and organizational compliance before use.
  • The skill does not fully explain PLAYWRIGHT_SERVICE_URL, Entra permissions, regional behavior, or network requirements; reachability and latency should be validated in mainland-China environments.
  • Failure diagnosis, quota handling, retry boundaries, and rollback procedures are not documented; validate initial adoption in a non-production project.
  • The examples use npm init with latest and a broad Playwright dependency range; users still need version pinning, compatibility checks, and supply-chain review.
See the full review method →

What it does & when to use it

This skill guides TypeScript projects in running Playwright tests on Azure Playwright Workspaces cloud-hosted browsers. It covers service configuration, Microsoft Entra authentication, custom credentials, parallel execution, CI/CD integration, and Azure portal reporting. It recommends the replacement package, @azure/playwright, and distinguishes the Playwright versions required for basic usage and Azure reporter features. It fits teams that need larger-scale browser testing or centralized Azure test reporting.

Guides installation of @azure/playwright, @playwright/test, and @azure/identity; configures PLAYWRIGHT_SERVICE_URL; authenticates with DefaultAzureCredential or ManagedIdentityCredential; connects to Linux or Windows cloud browsers through createAzurePlaywrightConfig; runs tests in parallel with npx playwright test; configures HTML and Azure reporters; supports manual browser connections through getConnectOptions; provides GitHub Actions and Azure Pipelines examples; and maps migration changes from the retired package to the new package.

  1. A TypeScript engineering team needs to run a large Playwright browser suite in parallel on Azure-hosted browsers.
  2. A CI/CD team needs GitHub Actions or Azure Pipelines examples for running cloud-based Playwright tests.
  3. A team using Azure identity wants Entra credentials instead of access tokens for service authentication.
  4. A team needs test results in the Azure portal and is able to use Playwright 1.57 or later.

Pros & cons

Pros
  • Covers installation, authentication, service configuration, CI/CD, and reporting in one TypeScript workflow.
  • Supports DefaultAzureCredential, ManagedIdentityCredential, Linux or Windows service browsers, and manual browser connections.
  • Provides a concrete migration map from the old package to @azure/playwright.
  • Includes GitHub Actions and Azure Pipelines examples.
Limitations
  • Requires Azure Playwright Workspaces, a service URL, and appropriate Azure identity permissions; pricing and quota details are not documented in the source.
  • Azure reporter features require Playwright 1.57+, while basic usage requires at least Playwright 1.47.
  • The SKILL.md does not provide a skill-specific test suite or cross-platform validation results.
  • The old @azure/microsoft-playwright-testing package is stated to retire on March 8, 2026.

How to install

From the target Agent Skills client, run npx skills add microsoft/skills and select this skill in the installation wizard. The README says skills are installed to the selected agent directory, such as .github/skills/ for GitHub Copilot. For project dependencies, use npm init @azure/playwright@latest to generate configuration, or run npm install @azure/playwright --save-dev, npm install @playwright/test@^1.47 --save-dev, and npm install @azure/identity --save-dev.

How to use

Create or use playwright.service.config.ts, import createAzurePlaywrightConfig, ServiceOS, and an Azure credential, set PLAYWRIGHT_SERVICE_URL, and pass the credential in the service configuration. Run tests with npx playwright test --config=playwright.service.config.ts --workers=20. When Azure reporting is needed, configure @azure/playwright/reporter; Azure reporter features require Playwright 1.57+. The source does not define a client-specific trigger prompt.

Compared to similar skills

The source explicitly compares the old @azure/microsoft-playwright-testing package with @azure/playwright. The new package uses createAzurePlaywrightConfig, connectTimeout, runName, and @azure/playwright/reporter, and requires an explicit credential; the old package used getServiceConfig, timeout, runId, and the former reporter.

FAQ

Do I need an Azure account or permissions?
Yes. You need access to Azure Playwright Workspaces and a PLAYWRIGHT_SERVICE_URL. Entra authentication requires a TokenCredential; the GitHub Actions example also grants id-token: write and contents: read.
What is the minimum Playwright version?
Basic usage requires Playwright 1.47 or later. Azure reporter features require Playwright 1.57 or later.
Can I keep using @azure/microsoft-playwright-testing?
The source recommends migration to @azure/playwright because the old package is scheduled to retire on March 8, 2026.
Does the source explain service pricing?
No. It documents installation, configuration, authentication, execution, and reporting, but provides no pricing information.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills