Skip to content

ci: run integration tests against local selenium/standalone-chrome#2232

Open
Artur- wants to merge 5 commits into
mainfrom
no-saucelabs
Open

ci: run integration tests against local selenium/standalone-chrome#2232
Artur- wants to merge 5 commits into
mainfrom
no-saucelabs

Conversation

@Artur-

@Artur- Artur- commented May 7, 2026

Copy link
Copy Markdown
Member

Replace SauceLabs cloud grid + Sauce Connect tunnel with a selenium/standalone-chrome service container on the GitHub Actions runner. Tests reuse the existing remote-driver code path, just pointed at localhost:4444 instead of the Sauce hub.

Drop Safari and Windows 10 platform forcing from the integration test browser configurations so capabilities match what the Linux container can serve.

The SauceLabsIntegration public API and routing in BrowserExtension / ParallelTest are unchanged — users who set SAUCE_USERNAME / SAUCE_ACCESS_KEY externally still get the Sauce path.

Replace SauceLabs cloud grid + Sauce Connect tunnel with a
selenium/standalone-chrome service container on the GitHub Actions
runner. Tests reuse the existing remote-driver code path, just pointed
at localhost:4444 instead of the Sauce hub.

Drop Safari and Windows 10 platform forcing from the integration test
browser configurations so capabilities match what the Linux container
can serve.

The SauceLabsIntegration public API and routing in BrowserExtension /
ParallelTest are unchanged — users who set SAUCE_USERNAME /
SAUCE_ACCESS_KEY externally still get the Sauce path.
@mshabarov mshabarov requested review from mshabarov and platosha May 11, 2026 11:54
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

Test Results

  190 files    190 suites   15m 23s ⏱️
1 361 tests 1 354 ✅  7 💤 0 ❌
1 814 runs  1 804 ✅ 10 💤 0 ❌

Results for commit e5f07a6.

♻️ This comment has been updated with latest results.

Artur- added 3 commits June 17, 2026 16:59
…n local grid

Gate the SeleniumJupiter PageObject example tests on whether a remote
grid is configured (hubHostname or Sauce Labs) instead of on Sauce Labs
specifically:

- SeleniumLocalPageObjectIT (local ChromeDriver via WebDriverManager) is
  disabled whenever a remote grid is configured, so it no longer tries to
  launch a non-existent local Chrome on the CI runner.
- SeleniumHubPageObjectIT now runs against whichever remote grid is
  configured; AbstractSeleniumSauceTB9Test derives the hub URL and
  capabilities from Sauce Labs when configured, otherwise from the
  hubHostname parameter (the selenium/standalone-chrome container in CI).

Also fix a latent race in MoveTargetOutOfBoundsIT.scrollIntoView...: the
grid-like container applies its sticky-tbody compensation transform on a
requestAnimationFrame, so the target reaches its final position one frame
after scrollIntoView returns. Poll for the settled position instead of
reading it synchronously, which raced the rAF on fast local drivers
(Sauce Labs' command latency previously masked this).
The JUnit 5 copy of ElementScreenCompareIT is already
@disabled("Viewport resize does not work"); its JUnit 4 twin was
missing the equivalent @ignore, so it ran against the local
selenium/standalone-chrome grid and failed: the reference screenshots
only cover Windows/Mac browsers, so on Linux Chrome no reference matches
and the comparison fails. Mirror the twin's annotation.
@Artur- Artur- requested a review from ZheSun88 June 18, 2026 13:26
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