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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Integrate the Playwright test suite you created in the previous tutorial with Pl
71
71
72
72
Follow these steps to set up the service and integrate the test suite.
73
73
74
-
### Create a Playwright Testing workspace.
74
+
### Create a Playwright Testing workspace
75
75
76
76
To get started with running your Playwright tests at scale on cloud browsers, you first create a Microsoft Playwright Testing workspace in the Playwright portal.
77
77
@@ -80,7 +80,7 @@ To get started with running your Playwright tests at scale on cloud browsers, yo
80
80
When the workspace creation finishes, you're redirected to the setup guide.
81
81
82
82
83
-
### Install Microsoft Playwright Testing package.
83
+
### Install Microsoft Playwright Testing package
84
84
85
85
To install service package, navigate to the location of your test suite you created in the previous tutorial and run this command:
86
86
@@ -93,7 +93,7 @@ This command generates `playwright.service.config.ts` file which serves to:
93
93
- Direct and authenticate Playwright to the Microsoft Playwright Testing service.
94
94
- Adds a reporter to publish test results and artifacts.
95
95
96
-
### Configure the service region endpoint.
96
+
### Configure the service region endpoint
97
97
98
98
In your setup, you have to provide the region-specific service endpoint. The endpoint depends on the Azure region you selected when creating the workspace.
99
99
@@ -106,7 +106,7 @@ To get the service endpoint URL, perform the following steps:
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
108
108
109
-
### Set up your environment.
109
+
### Set up your environment
110
110
111
111
To set up your environment, you have to configure the `PLAYWRIGHT_SERVICE_URL` environment variable with the value you obtained in the previous steps.
112
112
@@ -127,7 +127,7 @@ We recommend that you use the `dotenv` module to manage your environment. With `
127
127
Make sure to replace the `{MY-REGION-ENDPOINT}` text placeholder with the value you copied earlier.
128
128
129
129
130
-
### Set up authentication.
130
+
### Set up authentication
131
131
132
132
To run your Playwright tests in your Microsoft Playwright Testing workspace, you need to authenticate the Playwright client where you're running the tests with the service. Authenticate with the dev workstation where you are running the Playwright tests.
133
133
@@ -141,7 +141,7 @@ az login
141
141
> If you're a part of multiple Microsoft Entra tenants, make sure you sign in to the tenant where your workspace belongs. You can get the tenant ID from Azure portal. See [Find your Microsoft Entra Tenant](/azure/azure-portal/get-subscription-tenant-id#find-your-microsoft-entra-tenant). Once you get the ID, sign-in using the command`az login --tenant <TenantID>`
142
142
143
143
144
-
### Enable artifacts in your Playwright setup.
144
+
### Enable artifacts in your Playwright setup
145
145
146
146
In the `playwright.config.ts` file of your project, ensure you are collecting all the required artifacts.
0 commit comments