Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/browsertesting-issue-body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Description

Selenium is used in the aspnetcore repo for automated E2E integration testing.
Playwright is used in the aspnetcore repo for some benchmarking apps. We need to ensure the docker file and the package version match.

## Instructions

To update the Selenium and Playwright versions, these files need to be updated:

### Packages
- [ ] [Selenium in `Versions.props`](eng/Versions.props) from NuGet:
- [ ] [Selenium.WebDriver](https://www.nuget.org/packages/Selenium.WebDriver/) (Config variable `SeleniumWebDriverVersion`)
- [ ] [Selenium.Support](https://www.nuget.org/packages/Selenium.Support/) (Config variable `SeleniumSupportVersion`)
- [ ] Ensure Playwright versions match
- [ ] [Blazor Wasm benchmarks in `src/Components/benchmarkapps/Wasm.Performance/dockerfile`](src/Components/benchmarkapps/Wasm.Performance/dockerfile) (image starts with `mcr.microsoft.com`)
- [ ] [Playwright package version](eng/Versions.props) (Config variable `PlaywrightVersion`)

## Actions

Please, open the PR against `main` branch and include changes to the files listed above.
Also mention @dotnet/aspnet-build in the opened Pull Request - this will be a responsible engineer for changes validation.
26 changes: 26 additions & 0 deletions .github/workflows/browsertesting-open-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "[Monthly] Schedule Browser-Testing Dependencies Update Issue"

on:
schedule:
# Runs on the first day of every month at midnight UTC
- cron: '0 0 1 * *'
workflow_dispatch: # for manual triggering

jobs:
create-issue:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

# copilot can be assigned to the issue
# https://cli.github.com/manual/gh_issue_create
- name: Create Issue From Template
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
run: |
gh issue create \
--title "Request Browser-Testing Dependencies Update" \
--body-file ".github/workflows/browsertesting-issue-body.md" \
--assignee "@copilot"