Skip to content

Commit

Permalink
QE: Add Chromedriver debugging port
Browse files Browse the repository at this point in the history
With this, we can open a browser on the controller by sshing to it with
`ssh -X FQDN` and executing `chromium`. After that we can type the
following into the search bar: `chrome://inspect` which will show the
active remote targets.

sumaform PR:
- uyuni-project/sumaform#1654
  • Loading branch information
nodeg authored and admd committed Aug 15, 2024
1 parent 57fcfa3 commit b000ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def capybara_register_driver
# WORKAROUND failure at Scenario: Test IPMI functions: increase from 60 s to 180 s
client.read_timeout = 240
# Chrome driver options
chrome_options = %w[no-sandbox disable-dev-shm-usage ignore-certificate-errors disable-gpu window-size=2048,2048 js-flags=--max_old_space_size=2048]
chrome_options = %w[no-sandbox disable-dev-shm-usage ignore-certificate-errors disable-gpu window-size=2048,2048 js-flags=--max_old_space_size=2048 remote-debugging-port=9222]
chrome_options << 'headless' unless $debug_mode
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: {
Expand Down

0 comments on commit b000ba4

Please sign in to comment.