Skip to content

Commit f7d051d

Browse files
Merge pull request #303986 from MicrosoftDocs/main
Auto Publish – main to live - 2025-08-07 17:00 UTC
2 parents 3630b26 + 4293a5b commit f7d051d

26 files changed

+146
-199
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,12 @@
638638
"branch": "main",
639639
"branch_mapping": {}
640640
},
641+
{
642+
"path_to_root": "playwright-workspaces",
643+
"url": "https://github.com/Azure/playwright-workspaces",
644+
"branch": "main",
645+
"branch_mapping": {}
646+
},
641647
{
642648
"path_to_root": "playwright-testing-service",
643649
"url": "https://github.com/microsoft/playwright-testing-service",

articles/app-service/overview-inbound-outbound-ips.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how inbound and outbound IP addresses are used in Azure App S
44
author: msangapu-msft
55
ms.author: msangapu
66
ms.topic: article
7-
ms.date: 08/05/2025
7+
ms.date: 08/07/2025
88
ms.update-cycle: 1095-days
99
ms.custom:
1010
- UpdateFrequency3
@@ -139,6 +139,8 @@ You can configure the IP mode behavior using the `IPMode` property:
139139
- **IPv6**: DNS returns IPv6 address only
140140
- **IPv4AndIPv6**: DNS returns both IPv4 and IPv6 addresses
141141

142+
IPMode is a DNS-only feature. Every App Service site can receive requests via both IPv4 and IPv6 endpoints—regardless of the configured IpMode. IpMode only influences how DNS resolves the endpoint, so it affects clients that rely on DNS resolution (which should be most clients), but it doesn't restrict which protocol endpoints can be reached.
143+
142144
### Configure IPv6 support
143145

144146
# [Azure portal](#tab/azure-portal)

articles/app-testing/playwright-workspaces/how-to-manage-authentication.md

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,24 @@ To enable authentication using access tokens:
5555

5656
::: zone pivot="playwright-test-runner"
5757

58-
1. While running the tests, enable access token auth in the `playwright.service.config.ts` file in your setup.
58+
### If you're using the **Playwright Test Runner**
5959

60-
```typescript
61-
import { getServiceConfig, ServiceAuth } from '@azure/playwright';
60+
While running the tests, enable access token auth in the `playwright.service.config.ts` file in your setup.
6261

62+
```typescript
63+
import { getServiceConfig, ServiceAuth } from '@azure/playwright';
64+
6365
/* Learn more about service configuration at https://aka.ms/mpt/config */
6466
export default defineConfig(config, getServiceConfig( config {
6567
serviceAuthType: ServiceAuth.ACCESS_TOKEN
6668
}));
67-
```
69+
```
6870
::: zone-end
6971

7072
::: zone pivot="nunit-test-runner"
7173

74+
### If you're using the **NUnit Test Runner**
75+
7276
1. While running the tests, enable access token auth in the setup file.
7377

7478
```c#
@@ -103,33 +107,35 @@ To enable authentication using access tokens:
103107

104108
::: zone pivot="playwright-test-runner"
105109

106-
3. Set up your environment.
110+
## Set up your environment.
107111

108-
To set up your environment, configure the `PLAYWRIGHT_SERVICE_ACCESS_TOKEN` environment variable with the value you obtained in the previous steps. Ensure this environment variable is available in your setup where you are running tests.
112+
### If you're using the **Playwright Test Runner**
109113

110-
We recommend that you use the `dotenv` module to manage your environment. With `dotenv`, you define your environment variables in the `.env` file.
114+
To set up your environment, configure the `PLAYWRIGHT_SERVICE_ACCESS_TOKEN` environment variable with the value you obtained in the previous steps. Ensure this environment variable is available in your setup where you are running tests.
111115

112-
1. Add the `dotenv` module to your project:
116+
We recommend that you use the `dotenv` module to manage your environment. With `dotenv`, you define your environment variables in the `.env` file.
113117

114-
```shell
115-
npm i --save-dev dotenv
116-
```
118+
1. Add the `dotenv` module to your project:
117119

118-
2. Create a `.env` file alongside the `playwright.config.ts` file in your Playwright project:
119-
120-
```
121-
PLAYWRIGHT_SERVICE_ACCESS_TOKEN={MY-ACCESS-TOKEN}
122-
```
120+
```shell
121+
npm i --save-dev dotenv
122+
```
123+
124+
2. Create a `.env` file alongside the `playwright.config.ts` file in your Playwright project:
125+
126+
```
127+
PLAYWRIGHT_SERVICE_ACCESS_TOKEN={MY-ACCESS-TOKEN}
128+
```
123129

124-
Make sure to replace the `{MY-ACCESS-TOKEN}` text placeholder with the value you copied earlier.
130+
Make sure to replace the `{MY-ACCESS-TOKEN}` text placeholder with the value you copied earlier.
125131

126132
::: zone-end
127133

128134
::: zone pivot="nunit-test-runner"
129135

130-
3. Set up your environment.
136+
### If you're using the **NUnit Test Runner**
131137

132-
To set up your environment, configure the `PLAYWRIGHT_SERVICE_ACCESS_TOKEN` environment variable with the value you obtained in the previous steps. Ensure this environment variable is available in your setup where you are running tests.
138+
To set up your environment, configure the `PLAYWRIGHT_SERVICE_ACCESS_TOKEN` environment variable with the value you obtained in the previous steps. Ensure this environment variable is available in your setup where you are running tests.
133139

134140
::: zone-end
135141

@@ -138,12 +144,16 @@ To enable authentication using access tokens:
138144
Run Playwright tests against cloud-hosted browsers and publish the results to the service using the configuration you created above.
139145

140146
::: zone pivot="playwright-test-runner"
147+
148+
### If you're using the **Playwright Test Runner**
141149
```typescript
142150
npx playwright test --config=playwright.service.config.ts --workers=20
143151
```
144152
::: zone-end
145153

146154
::: zone pivot="nunit-test-runner"
155+
156+
### If you're using the **NUnit Test Runner**
147157
```bash
148158
dotnet test -- NUnit.NumberOfTestWorkers=20
149159
```

articles/app-testing/playwright-workspaces/how-to-test-local-applications.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ You can specify one or multiple networks by using a list of rules. For example,
3030

3131
::: zone pivot="playwright-test-runner"
3232

33+
### If you're using the **Playwright Test Runner**
34+
3335
You can configure the `exposeNetwork` option in `playwright.service.config.ts`. The following example shows how to expose the `localhost` network by using the [`<loopback>`](https://en.wikipedia.org/wiki/Loopback) rule. You can also replace `localhost` with a domain that you want to enable for the service.
3436

3537
```typescript
@@ -58,6 +60,8 @@ npx playwright test --config=playwright.service.config.ts --workers=20
5860

5961
::: zone pivot="nunit-test-runner"
6062

63+
### If you're using the **NUnit Test Runner**
64+
6165
You can configure the `ExposeNetwork` option in the setup file. The following example shows how to expose the `localhost` network by using the [`<loopback>`](https://en.wikipedia.org/wiki/Loopback) rule. You can also replace `localhost` with a domain that you want to enable for the service.
6266

6367
```c#

articles/app-testing/playwright-workspaces/how-to-use-service-config-file.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ zone_pivot_groups: playwright-workspaces
1717

1818
::: zone pivot="playwright-test-runner"
1919

20+
### If you're using the **Playwright Test Runner**
21+
2022
This article shows you how to use the options available in the `playwright.service.config.ts` file that was generated for you.
2123
If you don't have this file in your code, follow [Quickstart: Run end-to-end tests at scale with Playwright Workspaces](./quickstart-run-end-to-end-tests.md)
2224

2325
::: zone-end
2426

2527
::: zone pivot="nunit-test-runner"
2628

29+
### If you're using the **NUnit Test Runner**
30+
2731
This article shows you how to use the options available in the `PlaywrightServiceSetup.cs` file.
2832
If you don't have this file in your code, follow [Quickstart: Run end-to-end tests at scale with Playwright Workspaces](./quickstart-run-end-to-end-tests.md)
2933

@@ -38,6 +42,8 @@ If you don't have this file in your code, follow [Quickstart: Run end-to-end tes
3842

3943
::: zone pivot="playwright-test-runner"
4044

45+
### If you're using the **Playwright Test Runner**
46+
4147
Below is a complete example of a `playwright.service.config.ts` file showing all supported configuration options:
4248

4349
```typescript
@@ -125,6 +131,8 @@ export default defineConfig(
125131

126132
::: zone pivot="nunit-test-runner"
127133

134+
### If you're using the **NUnit Test Runner**
135+
128136

129137
Here's version of the setup file with all the available options:
130138

articles/app-testing/playwright-workspaces/quickstart-automate-end-to-end-testing.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,20 @@ To get the service endpoint URL and store it as a CI workflow secret, perform th
6464
| *PLAYWRIGHT_SERVICE_URL* | Paste the endpoint URL you copied previously. |
6565

6666
::: zone pivot="playwright-test-runner"
67+
6768
## Add service configuration file
6869

70+
### If you're using the **Playwright Test Runner**
71+
6972
If you don't have Playwright tests configured to run with the service, add a service configuration file to your repository. In the next step, you then specify this service configuration file on the Playwright CLI.
7073

7174
1. Create a new file `playwright.service.config.ts` alongside the `playwright.config.ts` file.
7275

73-
Optionally, use the `playwright.service.config.ts` file in the [sample repository](https://github.com/microsoft/playwright-testing-service/blob/main/samples/get-started/playwright.service.config.ts).
76+
Optionally, use the `playwright.service.config.ts` file in the [sample repository](https://github.com/Azure/playwright-workspaces/blob/main/samples/playwright-tests/playwright.service.config.ts).
7477

7578
2. Add the following content to it:
7679

77-
:::code language="typescript" source="~/playwright-testing-service/samples/get-started/playwright.service.config.ts":::
80+
:::code language="typescript" source="~/playwright-workspaces/samples/playwright-tests/playwright.service.config.ts":::
7881

7982
By default, the service configuration enables you to accelerate build pipelines by running tests in parallel using cloud-hosted browsers.
8083

@@ -96,6 +99,8 @@ Update the `package.json` file in your repository to add details about Playwrigh
9699

97100
## Install service package
98101

102+
### If you're using the **NUnit Test Runner**
103+
99104
In your project, install Playwright Workspaces package.
100105

101106
```PowerShell
@@ -217,6 +222,8 @@ You can generate an access token from your Playwright workspace and use it in yo
217222
## Update the workflow definition
218223

219224
::: zone pivot="playwright-test-runner"
225+
226+
### If you're using the **Playwright Test Runner**
220227
Update the CI workflow definition to run your Playwright tests with the Playwright CLI. Pass the [service configuration file](#add-service-configuration-file) as an input parameter for the Playwright CLI. You configure your environment by specifying environment variables.
221228

222229
1. Open the CI workflow definition.
@@ -317,6 +324,8 @@ Update the CI workflow definition to run your Playwright tests with the Playwrig
317324
318325
::: zone pivot="nunit-test-runner"
319326
327+
### If you're using the **NUnit Test Runner**
328+
320329
Update the CI workflow definition to run your Playwright tests with the Playwright NUnit CLI. You configure your environment by specifying environment variables.
321330
322331
1. Open the CI workflow definition.

articles/app-testing/playwright-workspaces/quickstart-run-end-to-end-tests.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ After you complete this quickstart, you have a Playwright workspace to run your
2626

2727
* An Azure account with an active subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
2828
* Your Azure account needs the [Owner](/azure/role-based-access-control/built-in-roles#owner), [Contributor](/azure/role-based-access-control/built-in-roles#contributor), or one of the [classic administrator roles](/azure/role-based-access-control/rbac-and-directory-admin-roles#classic-subscription-administrator-roles).
29-
* A Playwright project. If you don't have project, create one by using the [Playwright getting started documentation](https://playwright.dev/docs/intro) or use our [Playwright Workspaces sample project](https://github.com/microsoft/playwright-testing-service/tree/main/samples/get-started).
29+
* A Playwright project. If you don't have project, create one by using the [Playwright getting started documentation](https://playwright.dev/docs/intro) or use our [Playwright Workspaces sample project](https://github.com/Azure/playwright-workspaces/blob/main/samples/playwright-tests).
3030
* Azure CLI. If you don't have Azure CLI, see [Install Azure CLI](/cli/azure/install-azure-cli).
3131

3232
## Create a workspace
@@ -70,6 +70,8 @@ To get started with running your Playwright tests on cloud browsers, you first n
7070

7171
::: zone pivot="playwright-test-runner"
7272

73+
### If you're using the **Playwright Test Runner**
74+
7375
To use the service, install the Playwright Workspaces package.
7476

7577
```npm
@@ -84,6 +86,8 @@ If you already have this file, the package asks you to overwrite it.
8486

8587
::: zone pivot="nunit-test-runner"
8688

89+
### If you're using the **NUnit Test Runner**
90+
8791
To use the service, install the Playwright Workspaces package.
8892

8993
```PowerShell
@@ -114,6 +118,8 @@ To get the service endpoint URL, perform the following steps:
114118

115119
## Set up your environment
116120

121+
### If you're using the **Playwright Test Runner**
122+
117123
To set up your environment, you have to configure the `PLAYWRIGHT_SERVICE_URL` environment variable with the value you obtained in the previous steps.
118124

119125
We recommend that you use the `dotenv` module to manage your environment. With `dotenv`, you define your environment variables in the `.env` file.
@@ -135,8 +141,11 @@ We recommend that you use the `dotenv` module to manage your environment. With `
135141
::: zone-end
136142

137143
::: zone pivot="nunit-test-runner"
144+
138145
## Set up service configuration
139146

147+
### If you're using the **NUnit Test Runner**
148+
140149
Create a file `PlaywrightServiceSetup.cs` in your project with the following content.
141150

142151
```csharp
@@ -193,6 +202,8 @@ You can generate an access token from your Playwright workspace and use it in yo
193202

194203
::: zone pivot="playwright-test-runner"
195204

205+
### If you're using the **Playwright Test Runner**
206+
196207
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).
197208
198209
### Run a single test with the service
@@ -323,6 +334,8 @@ To run your Playwright test suite in Visual Studio Code with Playwright Workspac
323334
324335
::: zone pivot="nunit-test-runner"
325336
337+
### If you're using the **NUnit Test Runner**
338+
326339
Run Playwright tests against browsers managed by the service using the configuration you created above.
327340

328341
```bash
@@ -350,10 +363,14 @@ Once your tests are running smoothly with the service, experiment with varying t
350363
With Playwright Workspaces, you can run with up to 50 parallel workers. Several factors influence the best configuration for your project, such as the CPU, memory, and network resources of your client machine, the target application's load-handling capacity, and the type of actions carried out in your tests.
351364

352365
::: zone pivot="playwright-test-runner"
366+
367+
### If you're using the **Playwright Test Runner**
353368
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.
354369
::: zone-end
355370

356371
::: zone pivot="nunit-test-runner"
372+
373+
### If you're using the **NUnit Test Runner**
357374
You can specify the number of parallel workers on the Playwright CLI command-line, or configure the `NumberOfTestWorkers` property in the `.runsettings` file.
358375
::: zone-end
359376

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ In this step, you are creating a Playwright test suite which is integrated with
5050
1. Clone the sample repository and navigate to test folder.
5151

5252
```powershell
53-
git clone https://github.com/microsoft/playwright-testing-service
54-
cd playwright-testing-service/samples/get-started
53+
git clone https://github.com/Azure/playwright-workspaces
54+
cd playwright-workspaces/samples/playwright-tests
5555
```
5656

5757
2. Install dependencies.

articles/app-testing/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ items:
237237
- name: Contoso Traders cloud testing demo
238238
href: https://github.com/microsoft/contosotraders-cloudtesting/
239239
- name: Examples repository
240-
href: https://github.com/microsoft/playwright-testing-service/
240+
href: https://github.com/Azure/playwright-workspaces/
241241
- name: Troubleshoot & debug
242242
items:
243243
- name: Troubleshoot test run failures

articles/application-gateway/for-containers/how-to-end-to-end-tls-ingress-api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ metadata:
5454
annotations:
5555
alb.networking.azure.io/alb-name: alb-test
5656
alb.networking.azure.io/alb-namespace: alb-test-infra
57+
alb.networking.azure.io/alb-ingress-extension: https-ingress
5758
spec:
5859
ingressClassName: azure-alb-external
5960
tls:
@@ -100,6 +101,7 @@ metadata:
100101
annotations:
101102
alb.networking.azure.io/alb-id: $RESOURCE_ID
102103
alb.networking.azure.io/alb-frontend: $FRONTEND_NAME
104+
alb.networking.azure.io/alb-ingress-extension: https-ingress
103105
spec:
104106
ingressClassName: azure-alb-external
105107
tls:
@@ -137,6 +139,7 @@ metadata:
137139
annotations:
138140
alb.networking.azure.io/alb-frontend: FRONTEND_NAME
139141
alb.networking.azure.io/alb-id: /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourcegroups/yyyyyyyy/providers/Microsoft.ServiceNetworking/trafficControllers/zzzzzz
142+
alb.networking.azure.io/alb-ingress-extension: https-ingress
140143
kubectl.kubernetes.io/last-applied-configuration: |
141144
{"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{"alb.networking.azure.io/alb-frontend":"FRONTEND_NAME","alb.networking.azure.io/alb-id":"/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourcegroups/yyyyyyyy/providers/Microsoft.ServiceNetworking/trafficControllers/zzzzzz"},"name"
142145
:"ingress-01","namespace":"test-infra"},"spec":{"ingressClassName":"azure-alb-external","rules":[{"host":"contoso.com","http":{"paths":[{"backend":{"service":{"name":"https-app","port":{"number":443}}},"path":"/","pathType":"Prefix"}]}}],"tls":[{"hosts":["contoso.com"],"secretName":"contoso.com"}]}}

0 commit comments

Comments
 (0)