|
| 1 | +--- |
| 2 | +title: Microsoft Playwright Testing free trial |
| 3 | +description: Learn how to get started for free with Microsoft Playwright Testing Preview free trial. |
| 4 | +ms.topic: how-to |
| 5 | +ms.date: 10/04/2023 |
| 6 | +ms.custom: playwright-testing-preview |
| 7 | +--- |
| 8 | + |
| 9 | +# Try Microsoft Playwright Testing Preview for free |
| 10 | + |
| 11 | +Microsoft Playwright Testing Preview is a fully managed service for end-to-end testing built on top of Playwright. With the free trial, you can try Microsoft Playwright Testing for free for 30 days or 100 test minutes. In this article, you learn about the limits of the free trial, how to get started, and how to track your free trial usage. |
| 12 | + |
| 13 | +> [!IMPORTANT] |
| 14 | +> 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 the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/). |
| 15 | +
|
| 16 | +## Prerequisites |
| 17 | + |
| 18 | +* An Azure account with an active subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin. |
| 19 | +* Your Azure account needs the [Owner](/azure/role-based-access-control/built-in-roles#owner), or one of the [classic administrator roles](/azure/role-based-access-control/rbac-and-directory-admin-roles#classic-subscription-administrator-roles). |
| 20 | + |
| 21 | +## Limits to free trial |
| 22 | + |
| 23 | +The following table lists the limits for the Microsoft Playwright Testing free trial. |
| 24 | + |
| 25 | +| Resource | Limit | |
| 26 | +|-|-| |
| 27 | +| Duration of trial | 30 days | |
| 28 | +| Total test minutes³ | 100 minutes | |
| 29 | +| Number of workspaces¹² | 1 | |
| 30 | + |
| 31 | +¹ These limits only apply to the *first* workspace you create in your Azure subscription. Any subsequent workspaces you create in the subscription automatically get the pay-as-you-go billing model. |
| 32 | + |
| 33 | +² If you delete the free trial workspace, you can't create a free trial workspace anymore. |
| 34 | + |
| 35 | +³ If you run a test that uses more than the test minute limit, only the overage test minutes apply for the pay-as-you-go billing model. |
| 36 | + |
| 37 | +If you exceed any of these limits, the workspace is automatically converted to the pay-as-you-go billing model. Learn more about the [Microsoft Playwright Testing pricing](https://azure.microsoft.com/pricing/details/playwright-testing/). |
| 38 | + |
| 39 | +## Create a workspace |
| 40 | + |
| 41 | +The first time you create a workspace in your Azure subscription, the workspace is automatically enrolled in the free trial. |
| 42 | + |
| 43 | +To create a workspace in the Playwright portal: |
| 44 | + |
| 45 | +1. Sign in to the [Playwright portal](https://aka.ms/mpt/portal) with your Azure account. |
| 46 | + |
| 47 | +1. Select **Create workspace**. |
| 48 | + |
| 49 | + If this is the first workspace you create in the Azure subscription, you see a message that the workspace is eligible for the free trial. |
| 50 | + |
| 51 | + :::image type="content" source="./media/how-to-try-playwright-testing-free/playwright-testing-create-free-trial.png" alt-text="Screenshot that shows the create workspace experience in the Playwright portal, showing the free trial message." lightbox="./media/how-to-try-playwright-testing-free/playwright-testing-create-free-trial.png"::: |
| 52 | + |
| 53 | +1. Provide the following information to create the workspace: |
| 54 | + |
| 55 | + |Field |Description | |
| 56 | + |---------|---------| |
| 57 | + |**Workspace name** | Enter a unique name to identify your workspace.<BR>The name can only consist of alphanumerical characters, and have a length between 3 and 64 characters. | |
| 58 | + |**Azure subscription** | Select the Azure subscription that you want to use for this Microsoft Playwright Testing workspace. | |
| 59 | + |**Region** | Select a geographic location to host your workspace. <BR>This is the location where the test run data is stored for the workspace. | |
| 60 | + |
| 61 | +1. Select **Create workspace**. |
| 62 | + |
| 63 | +## Track your free trial usage |
| 64 | + |
| 65 | +You can track the usage of the free trial for a workspace in either of these ways: |
| 66 | + |
| 67 | +- Select the settings icon and then select **Billing**. |
| 68 | + |
| 69 | + :::image type="content" source="./media/how-to-try-playwright-testing-free/playwright-testing-billing-details.png" alt-text="Screenshot that shows the Billing setting page in the Playwright portal." lightbox="./media/how-to-try-playwright-testing-free/playwright-testing-billing-details.png"::: |
| 70 | + |
| 71 | +- Select the **In free trial** menu item. |
| 72 | + |
| 73 | + :::image type="content" source="./media/how-to-try-playwright-testing-free/playwright-testing-free-trial-menu.png" alt-text="Screenshot that shows the free trial status menu item in the Playwright portal, to track the free trial usage." lightbox="./media/how-to-try-playwright-testing-free/playwright-testing-free-trial-menu.png"::: |
| 74 | + |
| 75 | +In the list of all workspaces, you can view a banner message that indicates if a workspace is in the free trial. |
| 76 | + |
| 77 | +:::image type="content" source="./media/how-to-try-playwright-testing-free/playwright-portal-workspaces.png" alt-text="Screenshot that shows the list of workspaces in the Playwright portal, highlighting the free trial banner message for a workspace." lightbox="./media/how-to-try-playwright-testing-free/playwright-portal-workspaces.png"::: |
| 78 | + |
| 79 | + |
| 80 | +## Upgrade your workspace |
| 81 | + |
| 82 | +When you exceed any of the limits of the free trial, your workspace is automatically converted to the pay-as-you-go billing model. |
| 83 | + |
| 84 | +All test runs, access tokens, and other artifacts linked to your workspace remain available. |
| 85 | + |
| 86 | +## Next step |
| 87 | + |
| 88 | +> [!div class="nextstepaction"] |
| 89 | +> [Quickstart: Run Playwright tests at scale](quickstart-run-end-to-end-tests.md) |
0 commit comments