Skip to content

Commit af89ea4

Browse files
authored
chore: create issue template & workflow to automatically open issue for browser testing dependencies updates (Selenium / Playwright) (#62845)
1 parent 6aa3b49 commit af89ea4

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Description
2+
3+
Selenium is used in the aspnetcore repo for automated E2E integration testing.
4+
Playwright is used in the aspnetcore repo for some benchmarking apps. We need to ensure the docker file and the package version match.
5+
6+
## Instructions
7+
8+
To update the Selenium and Playwright versions, these files need to be updated:
9+
10+
### Packages
11+
- [ ] [Selenium in `Versions.props`](eng/Versions.props) from NuGet:
12+
- [ ] [Selenium.WebDriver](https://www.nuget.org/packages/Selenium.WebDriver/) (Config variable `SeleniumWebDriverVersion`)
13+
- [ ] [Selenium.Support](https://www.nuget.org/packages/Selenium.Support/) (Config variable `SeleniumSupportVersion`)
14+
- [ ] Ensure Playwright versions match
15+
- [ ] [Blazor Wasm benchmarks in `src/Components/benchmarkapps/Wasm.Performance/dockerfile`](src/Components/benchmarkapps/Wasm.Performance/dockerfile) (image starts with `mcr.microsoft.com`)
16+
- [ ] [Playwright package version](eng/Versions.props) (Config variable `PlaywrightVersion`)
17+
18+
## Actions
19+
20+
Please, open the PR against `main` branch and include changes to the files listed above.
21+
Also mention @dotnet/aspnet-build in the opened Pull Request - this will be a responsible engineer for changes validation.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "[Monthly] Schedule Browser-Testing Dependencies Update Issue"
2+
3+
on:
4+
schedule:
5+
# Runs on the first day of every month at midnight UTC
6+
- cron: '0 0 1 * *'
7+
workflow_dispatch: # for manual triggering
8+
9+
jobs:
10+
create-issue:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
# copilot can be assigned to the issue
17+
# https://cli.github.com/manual/gh_issue_create
18+
- name: Create Issue From Template
19+
env:
20+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
GH_REPO: ${{ github.repository }}
22+
run: |
23+
gh issue create \
24+
--title "Request Browser-Testing Dependencies Update" \
25+
--body-file ".github/workflows/browsertesting-issue-body.md" \
26+
--assignee "@copilot"

0 commit comments

Comments
 (0)