Skip to content

Commit 8f4005d

Browse files
vvs11juliakm
andauthored
Apply suggestions from code review
Co-authored-by: Julia Kulla-Mader <[email protected]>
1 parent af24103 commit 8f4005d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/playwright-testing/tutorial-run-end-to-end-tests.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,26 @@ git clone https://github.com/microsoft/playwright-testing-service
5252
cd playwright-testing-service/samples/get-started
5353
```
5454

55-
2. Install dependencies
55+
2. Install dependencies.
5656

5757
```powershell
5858
npm install
5959
```
60-
3. Run Playwright tests
60+
3. Run Playwright tests.
6161

62-
Run this command to execute tests locally, without the service to identify any problems before integrating with the service. This project is used in the next steps to integrate with the service.
62+
Run this command to execute tests locally, outside of the service, to identify any problems before integrating with the service. This project is used in the next steps to integrate with the service.
6363

6464
```powershell
6565
npx playwright test
6666
```
6767

68-
## Integrate Playwright test suite with Microsoft Playwright Testing service.
68+
## Integrate Playwright test suite with Microsoft Playwright Testing service
6969

70-
In this tutorial, you set up Playwright Testing service and integrate the Playwright test suite you created in the previous tutorial with the service.
70+
Integrate the Playwright test suite you created in the previous tutorial with Playwright Testing service.
7171

7272
Follow these steps to set up the service and integrate the test suite.
7373

74-
1. Create a Playwright Testing workspace
74+
1. Create a Playwright Testing workspace.
7575

7676
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.
7777

@@ -80,7 +80,7 @@ To get started with running your Playwright tests at scale on cloud browsers, yo
8080
When the workspace creation finishes, you're redirected to the setup guide.
8181

8282

83-
2. Install Microsoft Playwright Testing package
83+
2. Install Microsoft Playwright Testing package.
8484

8585
To install service package, navigate to the location of your test suite you created in the previous tutorial and run this command:
8686

@@ -93,7 +93,7 @@ This command generates `playwright.service.config.ts` file which serves to:
9393
- Direct and authenticate Playwright to the Microsoft Playwright Testing service.
9494
- Adds a reporter to publish test results and artifacts.
9595

96-
3. Configure the service region endpoint
96+
3. Configure the service region endpoint.
9797

9898
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.
9999

@@ -106,7 +106,7 @@ To get the service endpoint URL, perform the following steps:
106106
:::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":::
107107

108108

109-
4. Set up your environment
109+
4. Set up your environment.
110110

111111
To set up your environment, you have to configure the `PLAYWRIGHT_SERVICE_URL` environment variable with the value you obtained in the previous steps.
112112

@@ -127,9 +127,9 @@ We recommend that you use the `dotenv` module to manage your environment. With `
127127
Make sure to replace the `{MY-REGION-ENDPOINT}` text placeholder with the value you copied earlier.
128128

129129

130-
5. Set up Authentication
130+
5. Set up authentication.
131131

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. In this tutorial, it is the dev workstation where you are running the Playwright tests.
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.
133133
134134
Microsoft Entra ID is the default and recommended authentication for the service. Use [Azure CLI](/cli/azure/install-azure-cli) to sign-in
135135
@@ -141,7 +141,7 @@ az login
141141
> 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>`
142142

143143

144-
6. Enable artifacts in your Playwright setup
144+
6. Enable artifacts in your Playwright setup.
145145

146146
In the `playwright.config.ts` file of your project, ensure you are collecting all the required artifacts.
147147
```typescript

0 commit comments

Comments
 (0)