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
@@ -70,8 +70,6 @@ To get started with running your Playwright tests on cloud browsers, you first n
70
70
71
71
::: zone pivot="playwright-test-runner"
72
72
73
-
### If you're using the **Playwright Test Runner**
74
-
75
73
To use the service, install the Playwright Workspaces package.
76
74
77
75
```npm
@@ -86,8 +84,6 @@ If you already have this file, the package asks you to overwrite it.
86
84
87
85
::: zone pivot="nunit-test-runner"
88
86
89
-
### If you're using the **NUnit Test Runner**
90
-
91
87
To use the service, install the Playwright Workspaces package.
92
88
93
89
```PowerShell
@@ -118,8 +114,6 @@ To get the service endpoint URL, perform the following steps:
118
114
119
115
## Set up your environment
120
116
121
-
### If you're using the **Playwright Test Runner**
122
-
123
117
To set up your environment, you have to configure the `PLAYWRIGHT_SERVICE_URL` environment variable with the value you obtained in the previous steps.
124
118
125
119
We recommend that you use the `dotenv` module to manage your environment. With `dotenv`, you define your environment variables in the `.env` file.
@@ -142,9 +136,7 @@ We recommend that you use the `dotenv` module to manage your environment. With `
142
136
143
137
::: zone pivot="nunit-test-runner"
144
138
145
-
## Set up service configuration
146
-
147
-
### If you're using the **NUnit Test Runner**
139
+
## Set up service configuration
148
140
149
141
Create a file `PlaywrightServiceSetup.cs`in your project with the following content.
150
142
@@ -202,8 +194,6 @@ You can generate an access token from your Playwright workspace and use it in yo
202
194
203
195
::: zone pivot="playwright-test-runner"
204
196
205
-
### If you're using the **Playwright Test Runner**
206
-
207
197
You've now prepared the configuration for running your Playwright tests in the cloud with Playwright Workspaces. You can either use the Playwright CLI to run your tests, or use the [Playwright Test Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright).
208
198
209
199
### Run a single test with the service
@@ -334,8 +324,6 @@ To run your Playwright test suite in Visual Studio Code with Playwright Workspac
334
324
335
325
::: zone pivot="nunit-test-runner"
336
326
337
-
### If you're using the **NUnit Test Runner**
338
-
339
327
Run Playwright tests against browsers managed by the service using the configuration you created above.
340
328
341
329
```bash
@@ -364,13 +352,11 @@ With Playwright Workspaces, you can run with up to 50 parallel workers. Several
364
352
365
353
::: zone pivot="playwright-test-runner"
366
354
367
-
### If you're using the **Playwright Test Runner**
368
355
You can specify the number of parallel workers on the Playwright CLI command-line, or configure the `workers` property in the Playwright service configuration file.
369
356
::: zone-end
370
357
371
358
::: zone pivot="nunit-test-runner"
372
359
373
-
### If you're using the **NUnit Test Runner**
374
360
You can specify the number of parallel workers on the Playwright CLI command-line, or configure the `NumberOfTestWorkers` property in the `.runsettings` file.
0 commit comments