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
# Quickstart: Troubleshoot tests with Microsoft Playwright Testing Preview
10
10
11
-
In this quickstart, you learn how to troubleshoot your Playwright tests easily using reports and artifacts published on Microsoft Playwright Testing Preview. Additionally, this guide demonstrates how to utilize the reporting feature, regardless of whether you are running tests on the cloud-hosted browsers provided by the service.
11
+
In this quickstart, you learn how to troubleshoot your Playwright tests easily using reports and artifacts published on Microsoft Playwright Testing Preview. Additionally, this guide demonstrates how to utilize the reporting feature, regardless of whether you're running tests on the cloud-hosted browsers provided by the service.
12
12
13
13
After you complete this quickstart, you'll have a Microsoft Playwright Testing workspace to view test results and artifacts in the service portal.
14
14
@@ -51,7 +51,7 @@ To use the service, install the Microsoft Playwright Testing package.
51
51
npm init @azure/microsoft-playwright-testing
52
52
```
53
53
54
-
This generates `playwright.service.config.ts` file which serves to:
54
+
This command generates `playwright.service.config.ts` file which serves to:
55
55
56
56
- Direct and authenticate your Playwright client to the Microsoft Playwright Testing service.
57
57
- Adds a reporter to publish test results and artifacts.
@@ -73,7 +73,7 @@ export default defineConfig(
73
73
}
74
74
);
75
75
```
76
-
Setting this as `false` ensures that cloud-hosted browsers are not used to run the tests. The tests run on your local machine but the results and artifacts are published on the service.
76
+
Setting the value as `false` ensures that cloud-hosted browsers aren't used to run the tests. The tests run on your local machine but the results and artifacts are published on the service.
77
77
78
78
> [!TIP]
79
79
> If you wish to accelerate your test run using cloud-hosted browser, you can set `useCloudHostedBrowsers` as true, This will run your tests on the service managed browsers.
@@ -113,7 +113,7 @@ We recommend that you use the `dotenv` module to manage your environment. With `
113
113
114
114
## Set up Authentication
115
115
116
-
To publish test results and artifacts to your Microsoft Playwright Testing workspace, you need to authenticate the Playwright client where you're running the tests with the service. This could be your local dev machine or CI machine.
116
+
To publish test results and artifacts to your Microsoft Playwright Testing workspace, you need to authenticate the Playwright client where you're running the tests with the service. The client could be your local dev machine or CI machine.
117
117
118
118
The service offers two authentication methods: Microsoft Entra ID and Access Tokens.
119
119
@@ -141,7 +141,7 @@ You can generate an access token from your Playwright Testing workspace and use
141
141
> We strongly recommend using Microsoft Entra ID for authentication to the service. If you are using access tokens, see [How to Manage Access Tokens](./how-to-manage-access-tokens.md)
142
142
143
143
## Enable artifacts in Playwright configuration
144
-
In the `playwright.config.ts` file of your project, make sure you are collecting all the required artifacts.
144
+
In the `playwright.config.ts` file of your project, make sure you're collecting all the required artifacts.
0 commit comments