Skip to content

CI: Fix Chrome version discrepancy#3493

Merged
swissspidy merged 2 commits into
v7from
fix/selenium-cache
Apr 2, 2026
Merged

CI: Fix Chrome version discrepancy#3493
swissspidy merged 2 commits into
v7from
fix/selenium-cache

Conversation

@swissspidy

@swissspidy swissspidy commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

The workbox integration tests fail in CI when chromedriver (updated via npm install --no-save) is newer than the Chrome browser version cached by selenium-assistant.

The current cache key is static (${{ runner.os }}), meaning once the cache is created, it is never updated with newer browser versions.

I first addressed this by making the cache key more dynamic, but that wasn't good enough. The main change now is that the browser is first installed via selenium-assistant and then the matching chromedriver verison is installed.

To verify: tests should now pass again.

@swissspidy swissspidy changed the title CI: Fix selenium cache key CI: Fix Chrome version discrepancy Apr 2, 2026
@swissspidy swissspidy marked this pull request as ready for review April 2, 2026 09:21
@swissspidy swissspidy merged commit a48b10e into v7 Apr 2, 2026
6 checks passed
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.

1 participant