Skip to content

Commit

Permalink
Upgrade selenium (#742)
Browse files Browse the repository at this point in the history
* Debugging output

* Try without rounding

* Try truncate

* check everything in?

* Upgrade version of selenium

* All PNGs appear to have changed
  • Loading branch information
lcreid authored Oct 19, 2024
1 parent 8b44963 commit b713120
Show file tree
Hide file tree
Showing 70 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# yarn lockfile v1


lastUpdateCheck 1728862732146
lastUpdateCheck 1729300363924
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ will be rendered as:
</div>
</div>
</trix-toolbar>
<trix-editor aria-label="Life story" class="trix-content form-control" contenteditable="" data-blob-url-template="http://test.host/rails/active_storage/blobs/redirect/:signed_id/:filename" data-direct-upload-url="http://test.host/rails/active_storage/direct_uploads" id="user_life_story" input="user_life_story_trix_input_user" role="textbox" toolbar="trix-toolbar-1" trix-id="1">
<trix-editor aria-label="Life story" class="trix-content form-control" contenteditable="" data-blob-url-template="http://shell:3001/rails/active_storage/blobs/redirect/:signed_id/:filename" data-direct-upload-url="http://shell:3001/rails/active_storage/direct_uploads" id="user_life_story" input="user_life_story_trix_input_user" role="textbox" toolbar="trix-toolbar-1" trix-id="1">
</trix-editor>
</div>
```
Expand Down
3 changes: 2 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ services:
command: /bin/bash

selenium:
image: selenium/standalone-chrome:122.0
# Try removing headless=old option when upgrading the version.
image: selenium/standalone-chrome:129.0
logging:
driver: none
stdin_open: true
Expand Down
4 changes: 2 additions & 2 deletions demo/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ GEM
mini_mime (1.1.5)
minitest (5.25.1)
msgpack (1.7.3)
net-imap (0.4.16)
net-imap (0.4.17)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -166,7 +166,7 @@ GEM
puma (6.4.3)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.1.7)
rack (3.1.8)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/00_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/01_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/02_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/03_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/04_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/05_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/06_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/07_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/08_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/09_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/10_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/11_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/12_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/13_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/14_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demo/doc/screenshots/bootstrap/readme/15_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/16_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/17_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/18_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/19_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/20_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/21_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/22_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/23_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/24_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/25_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/26_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/27_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/28_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/29_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/30_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/31_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/32_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/33_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/34_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/35_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/36_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/37_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/38_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/40_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/41_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/42_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/43_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/44_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/45_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/46_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/47_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/48_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/49_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/50_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/51_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/52_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/53_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/54_example.png
Binary file modified demo/doc/screenshots/bootstrap/readme/55_example.png
6 changes: 4 additions & 2 deletions demo/test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ def remote_selenium? = @remote_selenium ||= ENV["SELENIUM_HOST"].present? || ENV
end

driven_by :selenium, using: :headless_chrome, screen_size: [960, 720], options: options do |capabilities|
capabilities.add_argument "force-device-scale-factor=1"
capabilities.add_argument "lang=#{ENV.fetch('LANG', 'en_CA')}"
capabilities.add_argument("force-device-scale-factor=1")
capabilities.add_argument("lang=#{ENV.fetch('LANG', 'en_CA')}")
# Needed for Selenium 129. Presumably remove at some point.
capabilities.add_argument("--headless=old")
end

if remote_selenium?
Expand Down

0 comments on commit b713120

Please sign in to comment.