Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Manage workspaces in Microsoft Playwright Testing Preview

Feedback

In this article

Important

Microsoft Playwright Testing will be retired on March 8, 2026. To continue running your Playwright tests,create a newPlaywright Workspace inAzure App Testing, now generally available.Learn how to migrate.

In this article, you create, view, and delete Microsoft Playwright Testing Preview workspaces. You can access and manage a workspace in the Azure portal or in the Playwright portal.

The following table lists the differences in functionality, based on how you access Microsoft Playwright Testing:

FunctionalityAzure portalPlaywright portalLearn more
Create a workspaceYesYesQuickstart: run Playwright test in the cloud
View the list of workspacesYesYesView all workspaces
View the workspace activity logNoYesDisplay activity log
Delete a workspaceYesYesDelete a workspace
Configure region affinityYesNoConfigure region affinity
Grant or revoke access to a workspaceYesNoManage workspace access

Important

Microsoft Playwright Testing is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see theSupplemental Terms of Use for Microsoft Azure Previews.

Prerequisites

Create a workspace

To get started with running your Playwright tests on cloud browsers, you first create a Microsoft Playwright Testing workspace. You can create a workspace in either the Azure portal or the Playwright portal.

When you create a workspace in the Playwright portal, the service creates a new resource group and a Microsoft Playwright Testing Azure resource in your Azure subscription. The name of the new resource group is based on the workspace name.

  1. Sign in to thePlaywright portal with your Azure account.

  2. If you already have a workspace, select an existing workspace, and move to the next step.

    Tip

    If you have multiple workspaces, you can switch to another workspace by selecting the workspace name at the top of the page, and then selectManage all workspaces.

  3. If you don't have a workspace yet, select+ New workspace, and then provide the following information:

    FieldDescription
    Workspace nameEnter a unique name to identify your workspace.
    The name can only consist of alphanumerical characters, and have a length between 3 and 64 characters.
    Azure subscriptionSelect the Azure subscription that you want to use for this Microsoft Playwright Testing workspace.
    RegionSelect a geographic location to host your workspace.
    This is the location where the test run data is stored for the workspace.

    Screenshot that shows the 'Create workspace' page in the Playwright portal.

  4. SelectCreate workspace to create the workspace in your subscription.

    During the workspace creation, a new resource group and a Microsoft Playwright Testing Azure resource are created in your Azure subscription.

Display the list of workspaces

To get the list of Playwright workspaces that you have access to:

  1. Sign in to thePlaywright portal with your Azure account.

  2. Select your current workspace in the top of the screen, and then selectManage all workspaces.

    Screenshot that shows the Playwright portal, highlighting the Manage all workspaces menu item.

  3. On theWorkspaces page, you can now see all the workspaces that you have access to.

    The page shows a card for each of the workspaces in the currently selected Azure subscription. You can switch to another subscription by selecting a subscription from the list.

    Screenshot that shows the list of all workspaces in the Playwright portal.

    Tip

    Notice that the workspace card indicates if the workspace is included in a free trial.

  4. Select a workspace to view the workspace details and activity log.

Display the workspace activity log

You can view the list of test runs for the workspace in the Playwright portal. Microsoft Playwright Testing only stores test run metadata, and doesn't store the test code, test results, trace files, or other artifacts.

The workspace activity log lists for each test run the following details:

  • Total test duration of the test suite
  • Maximum number of parallel browsers
  • Total time across all parallel browsers. This is the time that you're billed for the test run.

To view the list of test runs in the Playwright portal:

  1. Sign in to thePlaywright portal with your Azure account.

  2. Optionally, switch to another workspace by selecting your current workspace in the top of the screen, and then selectManage all workspaces.

  3. On the workspace home page, you can view the workspace activity log.

    Screenshot that shows the activity log for a workspace in the Playwright Testing portal.

Delete a workspace

To delete a Playwright workspace:

  1. Sign in to thePlaywright portal with your Azure account.

  2. Select your current workspace in the top of the screen, and then selectManage all workspaces.

  3. On theWorkspaces page, select the ellipsis (...) next to your workspace, and then selectDelete workspace.

    Screenshot that shows the Workspaces page in the Playwright portal, highlighting the Delete workspace menu item.

  4. On theDelete Workspace page, selectDelete to confirm the deletion of the workspace.

    Warning

    Deleting a workspace is an irreversible action. The workspace and the activity log can't be recovered.

Related content


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?