Skip to content

Move the Jakarta fixture to Selenium 4.54.0 - #286

Merged
jmanico merged 1 commit into
mainfrom
update-selenium-4.54.0
Nov 30, 2026
Merged

jmanico merged 1 commit into
mainfrom
update-selenium-4.54.0

Conversation

@jmanico

@jmanico jmanico commented Nov 30, 2026

Copy link
Copy Markdown
Member

Updates the Selenium client and its digest-pinned browser image together, as the fixture README requires, and removes the fixture's Guava pin, which Selenium 4.54.0 makes unnecessary.

  • Client: selenium.version 4.49.0 → 4.54.0. Boot 4.2.0 manages Selenium 4.51.0, so the old override held the fixture below Boot's own version. The override stays, now above Boot, to keep the client on the image's release.
  • Image: selenium/standalone-chrome:4.49.0-20260909 → 4.54.0-20261124 (Chrome and ChromeDriver 153 → 158, Ubuntu 24.04 → 26.04). The index digest sha256:fbce10ba3f369aa6d3c122a4cab9b7e72af2e80ac45f5e6c306f05b2ff83e270 equals the SHA-256 of the registry's index response and Docker Hub's listing, and the index covers linux/amd64 and linux/arm64. The Testcontainers helper images are unchanged.
  • Guava: Selenium 4.54.0 depends on Guava 33.8.0 and OpenTelemetry 1.68.0. With the fixture's dependency-management pin removed, the test tree resolves Guava 33.8.0-jre, so the pin from the 2026-11-16 and 2026-11-23 decision entries is removed, as they planned. The WAR plugin realm's Guava pin is separate and stays.
  • Policy test: a new test keeps selenium.version equal to the image tag in BrowserFixture.java and the README table, including the digest, and the fixture override test fails if a Guava pin returns to dependency management.
  • jakarta-test/README.md, DEPENDENCY_DECISIONS.md and CHANGELOG.md record the change.

Compatibility and validation

Test-only fixture change; the published libraries and their dependencies are untouched. Local runs used macOS arm64, Homebrew OpenJDK 17.0.21 and the Maven 3.10.2 wrapper.

  • ./mvnw -B -ntp clean package -PtestJakarta -DskipTests passes, including the fixture's DependencyConvergence and RequireUpperBoundDeps rules, Checkstyle and WAR packaging.
  • dependency:tree on the fixture resolves selenium-api 4.54.0, Guava 33.8.0-jre and OpenTelemetry 1.68.0 on the test classpath.
  • python3 -m unittest discover -s scripts/tests passes (39 tests). The new test fails when the client and image tag differ.

Not run locally: the Docker browser test, because Docker isn't available on this machine. The required -PtestJakarta CI job runs it against the new image.

  • I kept the change scoped and preserved relevant notices.
  • I checked documentation/changelog and tests for any behavior change.
  • This PR contains no credentials or private vulnerability evidence.

Update the Selenium client and the digest-pinned standalone-chrome image
together, from 4.49.0-20260909 to 4.54.0-20261124 (Chrome 158). Boot 4.2.0
manages Selenium 4.51.0, so the old override held the fixture below Boot's
version. Selenium 4.54.0 brings Guava 33.8.0 and OpenTelemetry 1.68.0, so
the fixture's Guava dependency-management pin is removed, as the decision
record planned. A policy test keeps the client equal to the image tag and
keeps the Guava pin from returning.
@jmanico
jmanico requested a review from jeremylong as a code owner November 30, 2026 12:51
@jmanico
jmanico merged commit ce6743a into main Nov 30, 2026
18 checks passed
@jmanico
jmanico deleted the update-selenium-4.54.0 branch November 30, 2026 12:55
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