Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/70_browsertesting_update.yml
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`)
- [ ] [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.

20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/70_browsertesting_update_body.md
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`)
- [ ] [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.
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/ISSUE_TEMPLATE/70_browsertesting_update_body.md" \
--assignee "@copilot"