Skip to content

Conversation

@ScharfViktor
Copy link
Contributor

Run tests with Playwright's bundled Chromium instead of the system-installed (and potentially outdated) Chrome.

We already have a mechanism in place that updates Playwright along with its compatible Chromium version, ensuring consistency and avoiding version mismatches.

Copy link
Contributor

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 updates the E2E test configuration to use Playwright's bundled Chromium browser instead of system-installed Chrome. This change ensures consistent browser versions and avoids potential compatibility issues between Playwright and outdated system Chrome installations.

  • Replace "chrome" references with "chromium" in CLI help text and error messages
  • Update default browser configuration from "chrome" to "chromium"
  • Modify npm script to use BROWSER=chromium environment variable

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/e2e/run-e2e.sh Updates CLI help text, browser validation, and error messages to use "chromium" instead of "chrome"
tests/e2e/config.js Changes default browser configuration from "chrome" to "chromium"
package.json Updates test script environment variable to use BROWSER=chromium

@ScharfViktor ScharfViktor force-pushed the changeBrowserInScript branch from 6766949 to eacd3e3 Compare July 23, 2025 14:36
@ScharfViktor ScharfViktor force-pushed the changeBrowserInScript branch from eacd3e3 to 84f517c Compare July 24, 2025 07:17
@individual-it individual-it merged commit e68889c into main Jul 24, 2025
28 checks passed
@individual-it individual-it deleted the changeBrowserInScript branch July 24, 2025 08:06
@openclouders openclouders mentioned this pull request Jul 24, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants