Skip to content

Fix Playwright Chromium shard setup for test (chrome, chromium) job - #613

Closed
noahchoii with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-test-chrome-chromium-failure
Closed

Fix Playwright Chromium shard setup for test (chrome, chromium) job#613
noahchoii with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-test-chrome-chromium-failure

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown

The test (chrome, chromium) Actions job failed because Playwright could not find chromium_headless_shell at runtime. The workflow now installs the correct Chromium shell binary for Chromium-based shards before running regression tests.

  • Root cause

    • Chromium matrix jobs installed chromium but did not guarantee chromium_headless_shell, which Playwright attempted to launch in CI.
  • Workflow change

    • Updated .github/workflows/test-regressions.yml browser install step to branch on matrix project:
      • chromium shards install shell-only Chromium runtime.
      • non-Chromium shards keep existing per-project install behavior.
  • Resulting behavior

    • chrome/edge shards now provision the executable path Playwright expects, avoiding launch-time binary-missing failures.
- name: Install Playwright Browsers
  run: |
    if [ "${{ matrix.shard.project }}" = "chromium" ]; then
      pnpm core exec playwright install --only-shell chromium
    else
      pnpm core exec playwright install ${{ matrix.shard.project }}
    fi

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vapor-ui Ready Ready Preview, Comment Jun 15, 2026 1:53am

Request Review

@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b23a64c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI changed the title [WIP] Fix failing GitHub Actions job test (chrome, chromium) Fix Playwright Chromium shard setup for test (chrome, chromium) job Jun 15, 2026
Copilot AI requested a review from noahchoii June 15, 2026 01:53
@noahchoii noahchoii closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants