Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade selenium #745

Merged
merged 11 commits into from
Mar 12, 2025
Merged

Upgrade selenium #745

merged 11 commits into from
Mar 12, 2025

Conversation

lcreid
Copy link
Contributor

@lcreid lcreid commented Mar 10, 2025

There was an issue with Selenium that I've forgotten already. But it needed to be updated to new webdrivers.

The issue seemed to be (after days of debugging) that some dimensions must have changed. When I was debugging and looking at the actual browser session, there was a banner across the top of the window to say that the browser was being controlled by test software. Perhaps that moved things enough that the code for cropping was broken. In the end, I just expanded the area to capture.

For some reason all the PNGs changed. I guess that's just going to happen to use, when the underlying containers change their behaviour about fonts or other rendering characteristics.

@lcreid lcreid self-assigned this Mar 10, 2025
@lcreid lcreid force-pushed the upgrade-selenium branch 4 times, most recently from b27eff7 to f2053ec Compare March 12, 2025 15:09
@lcreid lcreid mentioned this pull request Mar 12, 2025
lcreid added 10 commits March 12, 2025 11:32
Had to up the screen size for the tests. I don't know why it worked until
now. Although looking at the browser in non-headless, there was a new
box at the top of the page saying the browser was being driven for tests.
Maybe that changed the dimensions enough?
This soon won't be needed, as 6.1 is out of support and 7.0 is about to be.
@lcreid lcreid force-pushed the upgrade-selenium branch from f2053ec to b7526d4 Compare March 12, 2025 17:37
@lcreid lcreid marked this pull request as ready for review March 12, 2025 17:50
@lcreid lcreid merged commit 9aa34c5 into bootstrap-ruby:main Mar 12, 2025
14 checks passed
@lcreid lcreid deleted the upgrade-selenium branch March 12, 2025 18:03
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.

None yet

1 participant