You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/playwright-testing/tutorial-run-end-to-end-tests.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Tutorial: Run end to end tests with Playwright Testing
3
-
description: "In this tutorial, you learn how to integrate Microsoft Playwright Testing with a Playwright test suite, run Playwright tests on cloud hosted browsers and troubleshoot failed test using reports."
2
+
title: Tutorial: Run end-to-end tests with Playwright Testing
3
+
description: "In this tutorial, you learn how to integrate Microsoft Playwright Testing with a Playwright test suite, run Playwright tests on cloud hosted browsers and troubleshoot failed tests using reports."
4
4
author: vvs11
5
5
ms.author: vanshsingh
6
6
ms.service: microsoft-playwright-testing
@@ -11,22 +11,22 @@ ms.date: [12/18/2024]
11
11
12
12
---
13
13
14
-
# Tutorial: Run end to end Playwright tests with Microsoft Playwright Testing service
14
+
# Tutorial: Run end-to-end Playwright tests with Microsoft Playwright Testing service
15
15
16
-
In this tutorial, you learn how to integrate your Playwright test suite with Microsoft Playwright Testing, run tests faster using cloud-hosted browsers, and troubleshoot efficiently with the service's reporting features. You'll simulate a Playwright test suite, connect it to the service for faster execution, and use reporting tools for streamlined troubleshooting.
16
+
In this tutorial, you learn how to integrate your Playwright test suite with Microsoft Playwright Testing, run tests faster using cloud-hosted browsers, and troubleshoot efficiently using the service's reporting features. You'll simulate a Playwright test suite, connect it to the service for faster execution, and use reporting tools for streamlined troubleshooting.
17
17
18
18
In this tutorial, you:
19
19
20
20
> [!div class="checklist"]
21
21
> * Set up a Playwright test suite.
22
-
> * Integrate Playwright test suite with Microsoft Playwright Testing service.
22
+
> * Integrate the Playwright test suite with Microsoft Playwright Testing service.
23
23
> * Run the test suite with the service for faster execution and efficient troubleshooting.
24
24
25
25
## Prerequisites
26
26
27
27
* 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.
28
28
* The [Azure CLI](/cli/azure/install-azure-cli) installed on your local computer.
29
-
* Azure CLI version 2.2.0 or later. Run `az --version` to find the version that is installed on your computer. If you need to install or upgrade the Azure CLI, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
29
+
* Azure CLI version 2.2.0 or later. Run `az --version` to check the installed version on your computer. If you need to install or upgrade the Azure CLI, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
30
30
* Visual Studio Code. If you don't have it, [download and install it](https://code.visualstudio.com/Download).
31
31
* Git. If you don't have it, [download and install it](https://git-scm.com/download).
32
32
@@ -101,7 +101,7 @@ To get the service endpoint URL, perform the following steps:
101
101
102
102
1. In **Add region endpoint in your setup**, copy the region endpoint for your workspace.
103
103
104
-
The endpoint URL matches the Azure region that you selected when creating the workspace. Make sure this URL is available in `PLAYWRIGHT_SERVICE_URL` environment variable.
104
+
The endpoint URL matches the Azure region that you selected when creating the workspace. Ensure this URL is available in `PLAYWRIGHT_SERVICE_URL` environment variable.
105
105
106
106
:::image type="content" source="./media/quickstart-run-end-to-end-tests/playwright-testing-region-endpoint.png" alt-text="Screenshot that shows how to copy the workspace region endpoint in the Playwright Testing portal." lightbox="./media/quickstart-run-end-to-end-tests/playwright-testing-region-endpoint.png":::
107
107
@@ -143,7 +143,7 @@ az login
143
143
144
144
6. Enable artifacts in your Playwright setup
145
145
146
-
In the `playwright.config.ts` file of your project, make sure you are collecting all the required artifacts.
146
+
In the `playwright.config.ts` file of your project, ensure you are collecting all the required artifacts.
147
147
```typescript
148
148
use: {
149
149
trace: 'on-first-retry',
@@ -160,7 +160,7 @@ You've now prepared the configuration for running your Playwright tests in the c
160
160
161
161
With Microsoft Playwright Testing, you get charged based on the number of total test minutes and number of test results published. If you're a first-time user or [getting started with a free trial](./how-to-try-playwright-testing-free.md), you might start with running a single test at scale instead of your full test suite to avoid exhausting your free trial limits.
162
162
163
-
Perform the following steps to run Playwright tests with Microsoft Playwright Testing:
163
+
Follow these steps to run Playwright tests with Microsoft Playwright Testing:
164
164
165
165
1. Open a terminal window.
166
166
@@ -201,6 +201,6 @@ You can now troubleshoot the failed test cases in the Playwright portal.
201
201
202
202
> [Set up continuous end-to-end testing in CI/CD](./quickstart-automate-end-to-end-testing.md)
203
203
204
-
> [Explore service config options](./how-to-use-service-config-file.md)
204
+
> [Explore service configuration options](./how-to-use-service-config-file.md)
205
205
206
206
> [Determine the optimal test suite configuration](./concept-determine-optimal-configuration.md)
0 commit comments