From 8cff935232a6e6ae333d60e843e020e07cca6fcc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Sep 2025 15:55:20 +0000 Subject: [PATCH 1/4] Initial plan From 741523bf8b98c413dbf66e0e895f2fa75c5c6047 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:10:18 +0000 Subject: [PATCH 2/4] Add documentation for browser testing dependencies update process Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com> --- docs/BrowserTestingDependencies.md | 72 ++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/BrowserTestingDependencies.md diff --git a/docs/BrowserTestingDependencies.md b/docs/BrowserTestingDependencies.md new file mode 100644 index 000000000000..76de100f1c5a --- /dev/null +++ b/docs/BrowserTestingDependencies.md @@ -0,0 +1,72 @@ +# Browser Testing Dependencies + +This document describes the browser testing dependencies used in ASP.NET Core and how to keep them updated. + +## Current Dependencies + +### Selenium WebDriver +- **Packages**: `Selenium.WebDriver`, `Selenium.Support` +- **Current Version**: 4.34.0 +- **Configuration**: Defined in `eng/Versions.props` as `SeleniumWebDriverVersion` and `SeleniumSupportVersion` +- **Usage**: Used for E2E testing in Components tests (`src/Components/test/E2ETest`) + +### Microsoft Playwright +- **Package**: `Microsoft.Playwright` +- **Current Version**: 1.54.0 +- **Configuration**: Defined in `eng/Versions.props` as `MicrosoftPlaywrightVersion` +- **Docker Image**: `mcr.microsoft.com/playwright/dotnet:v1.54.0-jammy-amd64` +- **Docker File**: `src/Components/benchmarkapps/Wasm.Performance/dockerfile` +- **Usage**: Used for benchmarking applications + +## Update Process + +### Automated Update Script +A PowerShell script exists at `eng/scripts/update-selenium-and-playwright-versions.ps1` that: +1. Checks for the latest versions from NuGet.org +2. Updates `eng/Versions.props` with new versions +3. Updates the Playwright Docker image in the dockerfile +4. Creates a branch and commit with the changes + +### Manual Update Process +1. Check for latest versions available in the configured NuGet feeds (not NuGet.org directly) +2. Update versions in `eng/Versions.props`: + - `X.X.X` + - `X.X.X` + - `X.X.X` +3. Update Docker image version in `src/Components/benchmarkapps/Wasm.Performance/dockerfile`: + - `FROM mcr.microsoft.com/playwright/dotnet:vX.X.X-jammy-amd64 AS final` +4. Verify that the Docker image version exists at https://mcr.microsoft.com/v2/playwright/dotnet/tags/list +5. Test the build: `./restore.sh` + +### Version Alignment Requirements +- Playwright NuGet package version must match the Docker image version +- Both Selenium packages should use the same version number +- Only use stable (non-prerelease) versions + +### NuGet Feed Considerations +The repository uses internal Microsoft NuGet feeds rather than NuGet.org directly: +- `dotnet-public` - Primary feed for stable packages +- Other internal feeds for specific .NET versions + +This means that the latest versions on NuGet.org might not be immediately available in the internal feeds. + +## Verification + +To verify current dependency status: + +```bash +# Check current versions +grep -E "(SeleniumWebDriverVersion|SeleniumSupportVersion|MicrosoftPlaywrightVersion)" eng/Versions.props + +# Check Playwright Docker image +grep "playwright/dotnet:" src/Components/benchmarkapps/Wasm.Performance/dockerfile + +# Test build +./restore.sh +``` + +## Last Updated +- **Date**: September 2, 2025 +- **Selenium Version**: 4.34.0 (latest available in internal feeds) +- **Playwright Version**: 1.54.0 (aligned with Docker image) +- **Status**: ✅ All dependencies current and aligned \ No newline at end of file From 5d5e2b1fc88140766c9580884dadd7f63e7ff3ed Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:35:47 +0000 Subject: [PATCH 3/4] [Infrastructure] Update Selenium and Playwright dependencies 2025-09-02 * Updated Microsoft.Playwright version to 1.54.0 * Updated Selenium.Support version to 4.35.0 * Updated Selenium.WebDriver version to 4.35.0 --- eng/Versions.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index d57f9aad228c..099658dd906c 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -181,8 +181,8 @@ 1.54.0 3.0.0 7.2.4 - 4.34.0 - 4.34.0 + 4.35.0 + 4.35.0 1.4.0 4.0.0 2.7.27 From 2f2284fc4b5bc5ee9fa74da2dc1ce0d148f32b9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:38:50 +0000 Subject: [PATCH 4/4] Remove browser testing documentation and update Selenium to 4.35.0 Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com> --- docs/BrowserTestingDependencies.md | 72 ------------------------------ 1 file changed, 72 deletions(-) delete mode 100644 docs/BrowserTestingDependencies.md diff --git a/docs/BrowserTestingDependencies.md b/docs/BrowserTestingDependencies.md deleted file mode 100644 index 76de100f1c5a..000000000000 --- a/docs/BrowserTestingDependencies.md +++ /dev/null @@ -1,72 +0,0 @@ -# Browser Testing Dependencies - -This document describes the browser testing dependencies used in ASP.NET Core and how to keep them updated. - -## Current Dependencies - -### Selenium WebDriver -- **Packages**: `Selenium.WebDriver`, `Selenium.Support` -- **Current Version**: 4.34.0 -- **Configuration**: Defined in `eng/Versions.props` as `SeleniumWebDriverVersion` and `SeleniumSupportVersion` -- **Usage**: Used for E2E testing in Components tests (`src/Components/test/E2ETest`) - -### Microsoft Playwright -- **Package**: `Microsoft.Playwright` -- **Current Version**: 1.54.0 -- **Configuration**: Defined in `eng/Versions.props` as `MicrosoftPlaywrightVersion` -- **Docker Image**: `mcr.microsoft.com/playwright/dotnet:v1.54.0-jammy-amd64` -- **Docker File**: `src/Components/benchmarkapps/Wasm.Performance/dockerfile` -- **Usage**: Used for benchmarking applications - -## Update Process - -### Automated Update Script -A PowerShell script exists at `eng/scripts/update-selenium-and-playwright-versions.ps1` that: -1. Checks for the latest versions from NuGet.org -2. Updates `eng/Versions.props` with new versions -3. Updates the Playwright Docker image in the dockerfile -4. Creates a branch and commit with the changes - -### Manual Update Process -1. Check for latest versions available in the configured NuGet feeds (not NuGet.org directly) -2. Update versions in `eng/Versions.props`: - - `X.X.X` - - `X.X.X` - - `X.X.X` -3. Update Docker image version in `src/Components/benchmarkapps/Wasm.Performance/dockerfile`: - - `FROM mcr.microsoft.com/playwright/dotnet:vX.X.X-jammy-amd64 AS final` -4. Verify that the Docker image version exists at https://mcr.microsoft.com/v2/playwright/dotnet/tags/list -5. Test the build: `./restore.sh` - -### Version Alignment Requirements -- Playwright NuGet package version must match the Docker image version -- Both Selenium packages should use the same version number -- Only use stable (non-prerelease) versions - -### NuGet Feed Considerations -The repository uses internal Microsoft NuGet feeds rather than NuGet.org directly: -- `dotnet-public` - Primary feed for stable packages -- Other internal feeds for specific .NET versions - -This means that the latest versions on NuGet.org might not be immediately available in the internal feeds. - -## Verification - -To verify current dependency status: - -```bash -# Check current versions -grep -E "(SeleniumWebDriverVersion|SeleniumSupportVersion|MicrosoftPlaywrightVersion)" eng/Versions.props - -# Check Playwright Docker image -grep "playwright/dotnet:" src/Components/benchmarkapps/Wasm.Performance/dockerfile - -# Test build -./restore.sh -``` - -## Last Updated -- **Date**: September 2, 2025 -- **Selenium Version**: 4.34.0 (latest available in internal feeds) -- **Playwright Version**: 1.54.0 (aligned with Docker image) -- **Status**: ✅ All dependencies current and aligned \ No newline at end of file