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
@@ -13,7 +13,7 @@ ms.date: [12/18/2024]
13
13
14
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 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.
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 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
@@ -43,7 +43,7 @@ Before you start, validate your environment:
43
43
44
44
## Set up Playwright test suite
45
45
46
-
In this step, you are creating a Playwright test suite which will be integrated with the service.
46
+
In this step, you are creating a Playwright test suite which is integrated with the service.
47
47
48
48
1. Clone the sample repository and navigate to test folder.
49
49
@@ -59,7 +59,7 @@ npm install
59
59
```
60
60
3. Run Playwright tests
61
61
62
-
Run this command to execute tests locally, without the service. This is required to verify if the tests are running fine 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, without the serviceto identify any problems before integrating with the service. This project is used in the next steps to integrate with the service.
63
63
64
64
```powershell
65
65
npx playwright test
@@ -82,13 +82,13 @@ When the workspace creation finishes, you're redirected to the setup guide.
82
82
83
83
2. Install Microsoft Playwright Testing package
84
84
85
-
Navigate to the location of your test suite you created in the previous tutorial and run this command to install service package.
85
+
To install service package, navigate to the location of your test suite you created in the previous tutorial and run this command:
This generates `playwright.service.config.ts` file which serves to:
91
+
This command generates `playwright.service.config.ts` file which serves to:
92
92
93
93
- Direct and authenticate Playwright to the Microsoft Playwright Testing service.
94
94
- Adds a reporter to publish test results and artifacts.
@@ -158,7 +158,7 @@ You've now prepared the configuration for running your Playwright tests in the c
158
158
159
159
### Run Playwright tests with the service
160
160
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.
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 miay run a single test at scale instead of your full test suite to avoid exhausting your free trial limits.
162
162
163
163
Follow these steps to run Playwright tests with Microsoft Playwright Testing:
0 commit comments