Skip to content

Conversation

@tristandubbeld
Copy link
Contributor

@tristandubbeld tristandubbeld commented Nov 7, 2025

Problem

CI integration tests are failing with:

  • Cannot find module 'selenium-webdriver' error in browsers.test.js
  • The file was originally added for IE11 testing (commit 27af482) but IE11 support is no longer needed

Solution

  • Removed browsers.test.js which contained BrowserStack tests requiring selenium-webdriver
  • IE11, iOS, and Android tests were already skipped
  • Firefox and Safari tests also required selenium-webdriver which is not installed

Impact

  • Fixes part of CI failure for integration tests
  • Removes unused dependency requirement
  • No functional impact as tests were either skipped or failing due to missing dependency

This PR also contains changes from #8822 to fix snapshot testing.

- Remove browsers.test.js which was added for IE11 testing
- IE11, iOS, and Android tests were already skipped
- Firefox and Safari tests required selenium-webdriver which is not installed
- Fixes CI failure: Cannot find module 'selenium-webdriver'
@codesandbox
Copy link

codesandbox bot commented Nov 7, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

* chore: add puppeteer dependency for integration tests

* fix: ensure snapshot identifiers include -snap suffix

* test: update integration test snapshots

* test: increase snapshot thresholds to account for OS rendering differences

* chore: bump CircleCI cache version to v39 to invalidate stale caches

* fix: use correct jest-image-snapshot API for percentage thresholds

* chore: comment customDiffConfig and add logging to be sure it runs correctly

* fix: update thresholds to account for OS rendering diffs

* fix: snapshot threshold override

* fix: update snapshot threshold
@tristandubbeld tristandubbeld merged commit 9754826 into main Nov 12, 2025
10 of 13 checks passed
@tristandubbeld tristandubbeld deleted the tristan/csb-678-get-rid-of-selenium-webdriver-dependency branch November 12, 2025 09:45
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