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 #742

Merged
merged 6 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading