Skip to content

Commit 7abcfcb

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into agc-pricing
2 parents c068e6c + 1b18b5b commit 7abcfcb

File tree

51 files changed

+695
-400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+695
-400
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/concept-determine-optimal-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Experiment with the number of parallel workers to run your tests. Measure the te
122122
Notice at which point the test completion time no longer reduces as you add more workers. Move to the next step to further optimize your setup.
123123

124124
> [!NOTE]
125-
> While the service is in preview, the number of [parallel workers per workspace is limited](./resource-limits-quotas-capacity.md) to 50. You can [request an increase of this limit for your workspace](https://aka.ms/mpt/feedback).
125+
> While the service is in preview, the number of [parallel workers per workspace is limited](./resource-limits-quotas-capacity.md) to 50. You can [request an increase of this limit for your workspace](https://aka.ms/pww/feedback).
126126
127127
### 6. Scale the client
128128

articles/app-testing/playwright-workspaces/how-to-configure-visual-comparisons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import { getServiceConfig, ServiceOS } from '@azure/playwright';
5353
import { DefaultAzureCredential } from '@azure/identity';
5454
import config from './playwright.config';
5555

56-
/* Learn more about service configuration at https://aka.ms/mpt/config */
56+
/* Learn more about service configuration at https://aka.ms/pww/docs/config */
5757
export default defineConfig(
5858
config,
5959
getServiceConfig(config, {

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ author: ninallam
99
ms.author: ninallam
1010
ms.date: 08/07/2025
1111
ms.custom: playwright-workspaces-preview
12-
zone_pivot_group_filename: playwright-workspaces/zone-pivots-groups.json
12+
zone_pivot_group_filename: app-testing/playwright-workspaces/zone-pivots-groups.json
1313
zone_pivot_groups: playwright-workspaces
1414
---
1515

@@ -59,9 +59,9 @@ To enable authentication using access tokens:
5959

6060
```typescript
6161
import { getServiceConfig, ServiceAuth } from '@azure/playwright';
62-
63-
/* Learn more about service configuration at https://aka.ms/mpt/config */
64-
export default defineConfig(config, getServiceConfig( config {
62+
63+
/* Learn more about service configuration at https://aka.ms/pww/docs/config */
64+
export default defineConfig(config, getServiceConfig( config, {
6565
serviceAuthType: ServiceAuth.ACCESS_TOKEN
6666
}));
6767
```
@@ -87,7 +87,7 @@ To enable authentication using access tokens:
8787
credential: new DefaultAzureCredential(),
8888
options: new PlaywrightServiceBrowserClientOptions()
8989
{
90-
90+
ServiceAuth = ServiceAuthType.AccessToken
9191
}
9292
)
9393
{
@@ -103,47 +103,47 @@ To enable authentication using access tokens:
103103

104104
::: zone pivot="playwright-test-runner"
105105

106-
3. Set up your environment.
106+
## Set up your environment.
107107

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.
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.
109109

110-
We recommend that you use the `dotenv` module to manage your environment. With `dotenv`, you define your environment variables in the `.env` file.
110+
We recommend that you use the `dotenv` module to manage your environment. With `dotenv`, you define your environment variables in the `.env` file.
111111

112-
1. Add the `dotenv` module to your project:
112+
1. Add the `dotenv` module to your project:
113113

114-
```shell
115-
npm i --save-dev dotenv
116-
```
114+
```shell
115+
npm i --save-dev dotenv
116+
```
117117

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-
```
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+
```
123123

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

126126
::: zone-end
127127

128128
::: zone pivot="nunit-test-runner"
129129

130-
3. Set up your environment.
131-
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.
130+
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.
133131

134132
::: zone-end
135133

136-
## Run tests on the service and publish results
134+
## Run tests on the service
137135

138-
Run Playwright tests against cloud-hosted browsers and publish the results to the service using the configuration you created above.
136+
Run Playwright tests against cloud-hosted browsers using the configuration you created above.
139137

140138
::: zone pivot="playwright-test-runner"
139+
141140
```typescript
142141
npx playwright test --config=playwright.service.config.ts --workers=20
143142
```
144143
::: zone-end
145144

146145
::: zone pivot="nunit-test-runner"
146+
147147
```bash
148148
dotnet test -- NUnit.NumberOfTestWorkers=20
149149
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.subservice: playwright-workspaces
99
author: ninallam
1010
ms.author: ninallam
1111
ms.custom: playwright-workspaces-preview
12-
zone_pivot_group_filename: playwright-workspaces/zone-pivots-groups.json
12+
zone_pivot_group_filename: app-testing/playwright-workspaces/zone-pivots-groups.json
1313
zone_pivot_groups: playwright-workspaces
1414
---
1515

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.subservice: playwright-workspaces
99
author: ninallam
1010
ms.author: ninallam
1111
ms.custom: playwright-workspaces-preview
12-
zone_pivot_group_filename: playwright-workspaces/zone-pivots-groups.json
12+
zone_pivot_group_filename: app-testing/playwright-workspaces/zone-pivots-groups.json
1313
zone_pivot_groups: playwright-workspaces
1414
---
1515

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.subservice: playwright-workspaces
99
author: ninallam
1010
ms.author: ninallam
1111
ms.custom: playwright-workspaces-preview
12-
zone_pivot_group_filename: playwright-workspaces/zone-pivots-groups.json
12+
zone_pivot_group_filename: app-testing/playwright-workspaces/zone-pivots-groups.json
1313
zone_pivot_groups: playwright-workspaces
1414
---
1515

@@ -64,17 +64,18 @@ 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

6970
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.
7071

7172
1. Create a new file `playwright.service.config.ts` alongside the `playwright.config.ts` file.
7273

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).
74+
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).
7475

7576
2. Add the following content to it:
7677

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

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

@@ -106,7 +107,7 @@ This command updates your project's `csproj` file by adding the service package
106107

107108
```xml
108109
<ItemGroup>
109-
<PackageReference Include="Azure.Developer.Playwright.NUnit" Version="1.0.0-beta.1" />
110+
<PackageReference Include="Azure.Developer.Playwright.NUnit" Version="1.0.0-beta.2" />
110111
</ItemGroup>
111112
```
112113

@@ -217,6 +218,7 @@ You can generate an access token from your Playwright workspace and use it in yo
217218
## Update the workflow definition
218219

219220
::: zone pivot="playwright-test-runner"
221+
220222
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.
221223

222224
1. Open the CI workflow definition.

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.subservice: playwright-workspaces
99
author: ninallam
1010
ms.author: ninallam
1111
ms.custom: playwright-workspaces-preview
12-
zone_pivot_group_filename: playwright-workspaces/zone-pivots-groups.json
12+
zone_pivot_group_filename: app-testing/playwright-workspaces/zone-pivots-groups.json
1313
zone_pivot_groups: playwright-workspaces
1414
---
1515

@@ -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
@@ -135,7 +135,8 @@ We recommend that you use the `dotenv` module to manage your environment. With `
135135
::: zone-end
136136

137137
::: zone pivot="nunit-test-runner"
138-
## Set up service configuration
138+
139+
## Set up service configuration
139140

140141
Create a file `PlaywrightServiceSetup.cs` in your project with the following content.
141142

@@ -156,7 +157,7 @@ public class PlaywrightServiceNUnitSetup : PlaywrightServiceBrowserNUnit
156157
```
157158

158159
> [!NOTE]
159-
> Make sure your project uses `Microsoft.Playwright.NUnit` version 1.47 or above.
160+
> Make sure your project uses `Microsoft.Playwright.NUnit` version 1.50 or above.
160161

161162
::: zone-end
162163
## Set up Authentication
@@ -350,10 +351,12 @@ Once your tests are running smoothly with the service, experiment with varying t
350351
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.
351352

352353
::: zone pivot="playwright-test-runner"
354+
353355
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.
354356
::: zone-end
355357

356358
::: zone pivot="nunit-test-runner"
359+
357360
You can specify the number of parallel workers on the Playwright CLI command-line, or configure the `NumberOfTestWorkers` property in the `.runsettings` file.
358361
::: zone-end
359362

articles/app-testing/playwright-workspaces/resource-limits-quotas-capacity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ While the service is in preview, the following limits apply on a per-subscriptio
3535

3636
## Test code limitations
3737

38-
- The service supports Playwright OSS version 1.47 or higher.
38+
- The service supports Playwright OSS version 1.50 or higher.
3939
- The service supports the Playwright test runner and the NUnit test runner only.
4040

4141
## Supported operating systems and browsers

0 commit comments

Comments
 (0)