-
Notifications
You must be signed in to change notification settings - Fork 10.5k
chore: create issue template & workflow to automatically open issue for browser testing dependencies updates (Selenium / Playwright) #62845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "Request Browser-Testing Dependencies Update" | ||
description: "Automated issue to update Browser-Testing dependencies" | ||
title: "Request Browser-Testing Dependencies Update" | ||
labels: | ||
- dependencies | ||
- automation | ||
- selenium | ||
- playwright | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
This issue is configured to request an update of the Browser-Testing dependencies used in the project. | ||
Copilot will automatically create a pull request to update the dependencies. | ||
You can include more context to the issue description if you want to. | ||
- type: textarea | ||
id: update-notes | ||
attributes: | ||
label: Requested Browser-Testing Dependencies Update Notes | ||
description: Adjust the description if you think it requires more context | ||
# NOTE: update the `_body.md` as well if you are changing the text. | ||
# It is used for automatic workflow of issue creation. | ||
value: | | ||
## 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`) | ||
DeagleGross marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
- [ ] [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. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## 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`) | ||
DeagleGross marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- [ ] [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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ISSUE_TEMPLATE/70_browsertesting_update_body.md" \ | ||
--assignee "@copilot" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.