Skip to content

fix: Stop running polyfill tests in Chrome; they fail because of its native implementation#32

Merged
smockle merged 2 commits intomainfrom
smockle/run-tests-in-firefox
Nov 7, 2025
Merged

fix: Stop running polyfill tests in Chrome; they fail because of its native implementation#32
smockle merged 2 commits intomainfrom
smockle/run-tests-in-firefox

Conversation

@smockle
Copy link
Contributor

@smockle smockle commented Nov 7, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 7, 2025 15:40
@smockle smockle requested a review from a team as a code owner November 7, 2025 15:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Firefox browser testing support to the web-test-runner configuration by integrating the @web/test-runner-playwright package. The changes enable testing of the ariaNotify polyfill in Firefox, which is important since Firefox doesn't have native support for the ariaNotify API, making it an ideal target for polyfill testing.

  • Adds @web/test-runner-playwright dependency to enable Playwright browser launcher integration
  • Configures web-test-runner to use Firefox instead of the default Chrome browser
  • Removes --legacy-peer-deps flag from CI workflows, suggesting resolved dependency conflicts

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
web-test-runner.config.js Imports and configures Playwright launcher to run tests in Firefox with headless mode enabled and CI-specific executable path
package.json Adds @web/test-runner-playwright ^0.11.1 as a dev dependency
package-lock.json Locks @web/test-runner-playwright at version 0.11.1 with its transitive dependencies including playwright ^1.53.0
.github/workflows/test.yml Removes --legacy-peer-deps flag from npm ci command
.github/workflows/publish.yml Removes --legacy-peer-deps flag from npm ci command

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

… “Juggler” remote debugging protocol, so we have to install Playwright’s version (which includes “Juggler”) after all
@smockle smockle merged commit 4801f0f into main Nov 7, 2025
4 checks passed
@smockle smockle deleted the smockle/run-tests-in-firefox branch November 7, 2025 15:57
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.

3 participants