Skip to content

Update dependency rubocop-rspec to v3.6.0 #2274

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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 18, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop-rspec (changelog) 3.5.0 -> 3.6.0 age adoption passing confidence

Release Notes

rubocop/rubocop-rspec (rubocop-rspec)

v3.6.0

Compare Source

  • Fix false positive in RSpec/Pending, where it would mark the default block it as an offense. ([@​bquorning])
  • Fix issue when Style/ContextWording is configured with a Prefix being interpreted as a boolean, like on. ([@​sakuro])
  • Add new RSpec/IncludeExamples cop to enforce using it_behaves_like over include_examples. ([@​dvandersluis])
  • Change RSpec/ScatteredSetup to allow around hooks to be scattered. ([@​ydah])
  • Fix an error RSpec/ChangeByZero cop when without expect block. ([@​lee266])
  • Fix a false positive for RSpec/DescribedClass when SkipBlocks is true and numblocks are used. ([@​earlopain])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Apr 18, 2025

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit 0a9a8bf
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/680230648a0ae40007778287
😎 Deploy Preview https://deploy-preview-2274--selenium-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

qodo-merge-pro bot commented Apr 18, 2025

CI Feedback 🧐

(Feedback updated until commit 0a9a8bf)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: tests (macos, nightly)

Failed stage: Run tests on macos [❌]

Failed test name: Remote WebDriver starts remotely

Failure summary:

The action failed due to multiple test failures in the Ruby Selenium tests:

1. The "Scrolling scrolls by given amount with offset" test failed with a "NoSuchElementError" at
line 450-452, unable to locate an iframe element.

2. Multiple Remote WebDriver tests failed with the same TypeError: "no implicit conversion of String
into Integer" when calling Selenium::Server.get(:latest, background: true, args:
%w[--selenium-manager true --enable-managed-downloads true]) at line 477-481 and similar locations.

The tests were run twice (retry mechanism) but failed both times with the same errors. In total,
there were 4 failing tests out of 185 examples.

Relevant error logs:
1:  ##[group]Operating System
2:  macOS
...

310:  Creating settings.xml with server-id: github
311:  Writing to /Users/runner/.m2/settings.xml
312:  ##[group]Run nick-invision/[email protected]
313:  with:
314:  timeout_minutes: 20
315:  max_attempts: 2
316:  command: cd examples/ruby
317:  bundle exec rspec
318:  
319:  new_command_on_retry: cd examples/ruby
320:  DEBUG=true bundle exec rspec --only-failures --backtrace
321:  
322:  retry_wait_seconds: 10
323:  polling_interval_seconds: 1
324:  warning_on_retry: true
325:  continue_on_error: false
326:  env:
...

435:  # ./spec/elements/locators_spec.rb:43
436:  34) Element Locators with relative locators finds element to the left
437:  # These are reference following the documentation example
438:  # ./spec/elements/locators_spec.rb:47
439:  35) Element Locators with relative locators finds element to the right
440:  # These are reference following the documentation example
441:  # ./spec/elements/locators_spec.rb:51
442:  36) Element Locators with relative locators finds near element
443:  # These are reference following the documentation example
444:  # ./spec/elements/locators_spec.rb:55
445:  37) Element Locators with relative locators chains relative locators
446:  # These are reference following the documentation example
447:  # ./spec/elements/locators_spec.rb:59
448:  Failures:
449:  1) Scrolling scrolls by given amount with offset
450:  Failure/Error: iframe = driver.find_element(tag_name: 'iframe')
451:  Selenium::WebDriver::Error::NoSuchElementError:
452:  no such element: Unable to locate element: {"method":"tag name","selector":"iframe"}
453:  (Session info: chrome=134.0.6998.166); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
454:  # ./spec/actions_api/wheel_spec.rb:68:in `block (2 levels) in <top (required)>'
455:  # ------------------
456:  # --- Caused by: ---
457:  # Selenium::WebDriver::Error::WebDriverError:
458:  #   0   chromedriver                        0x000000010108b6c8 cxxbridge1$str$ptr + 2791212
...

460:  2   chromedriver                        0x0000000100bd5e30 cxxbridge1$string$len + 92928
461:  3   chromedriver                        0x0000000100c1d170 cxxbridge1$string$len + 384576
462:  4   chromedriver                        0x0000000100c5e5f8 cxxbridge1$string$len + 651976
463:  5   chromedriver                        0x0000000100c112fc cxxbridge1$string$len + 335820
464:  6   chromedriver                        0x00000001010506c4 cxxbridge1$str$ptr + 2549544
465:  7   chromedriver                        0x0000000101053988 cxxbridge1$str$ptr + 2562540
466:  8   chromedriver                        0x000000010103071c cxxbridge1$str$ptr + 2418560
467:  9   chromedriver                        0x00000001010541e8 cxxbridge1$str$ptr + 2564684
468:  10  chromedriver                        0x0000000101021750 cxxbridge1$str$ptr + 2357172
469:  11  chromedriver                        0x0000000101073f58 cxxbridge1$str$ptr + 2695100
470:  12  chromedriver                        0x00000001010740e0 cxxbridge1$str$ptr + 2695492
471:  13  chromedriver                        0x0000000101083910 cxxbridge1$str$ptr + 2759028
472:  14  libsystem_pthread.dylib             0x0000000185fedf94 _pthread_start + 136
473:  15  libsystem_pthread.dylib             0x0000000185fe8d34 thread_start + 8
474:  2) Remote WebDriver starts remotely
475:  Got 0 failures and 2 other errors:
476:  2.1) Failure/Error:
477:  Selenium::Server.get(:latest,
478:  background: true,
479:  args: %w[--selenium-manager true --enable-managed-downloads true])
480:  TypeError:
481:  no implicit conversion of String into Integer
482:  # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>'
483:  # ./spec/drivers/remote_webdriver_spec.rb:16:in `block (2 levels) in <top (required)>'
484:  2.2) Failure/Error:
485:  Selenium::Server.get(:latest,
486:  background: true,
487:  args: %w[--selenium-manager true --enable-managed-downloads true])
488:  TypeError:
489:  no implicit conversion of String into Integer
490:  # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>'
491:  # ./spec/drivers/remote_webdriver_spec.rb:17:in `block (2 levels) in <top (required)>'
492:  3) Remote WebDriver uploads
493:  Got 0 failures and 2 other errors:
494:  3.1) Failure/Error:
495:  Selenium::Server.get(:latest,
496:  background: true,
497:  args: %w[--selenium-manager true --enable-managed-downloads true])
498:  TypeError:
499:  no implicit conversion of String into Integer
500:  # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>'
501:  # ./spec/drivers/remote_webdriver_spec.rb:16:in `block (2 levels) in <top (required)>'
502:  3.2) Failure/Error:
503:  Selenium::Server.get(:latest,
504:  background: true,
505:  args: %w[--selenium-manager true --enable-managed-downloads true])
506:  TypeError:
507:  no implicit conversion of String into Integer
508:  # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>'
509:  # ./spec/drivers/remote_webdriver_spec.rb:17:in `block (2 levels) in <top (required)>'
510:  4) Remote WebDriver downloads
511:  Got 0 failures and 2 other errors:
512:  4.1) Failure/Error:
513:  Selenium::Server.get(:latest,
514:  background: true,
515:  args: %w[--selenium-manager true --enable-managed-downloads true])
516:  TypeError:
517:  no implicit conversion of String into Integer
518:  # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>'
519:  # ./spec/drivers/remote_webdriver_spec.rb:16:in `block (2 levels) in <top (required)>'
520:  4.2) Failure/Error:
521:  Selenium::Server.get(:latest,
522:  background: true,
523:  args: %w[--selenium-manager true --enable-managed-downloads true])
524:  TypeError:
525:  no implicit conversion of String into Integer
526:  # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>'
527:  # ./spec/drivers/remote_webdriver_spec.rb:17:in `block (2 levels) in <top (required)>'
528:  Finished in 6 minutes 7 seconds (files took 0.18034 seconds to load)
529:  185 examples, 4 failures, 37 pending
530:  Failed examples:
531:  rspec ./spec/actions_api/wheel_spec.rb:60 # Scrolling scrolls by given amount with offset
532:  rspec ./spec/drivers/remote_webdriver_spec.rb:19 # Remote WebDriver starts remotely
533:  rspec ./spec/drivers/remote_webdriver_spec.rb:26 # Remote WebDriver uploads
534:  rspec ./spec/drivers/remote_webdriver_spec.rb:42 # Remote WebDriver downloads
535:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
536:  ##[endgroup]
537:  ##[group]Attempt 2
538:  2025-04-18 11:05:34 INFO Selenium [:logger_info] Details on how to use and modify Selenium logger:
539:  https://selenium.dev/documentation/webdriver/troubleshooting/logging
540:  2025-04-18 11:05:34 DEBUG Selenium Running with Guard 'platform' set to: macosx
541:  2025-04-18 11:05:34 DEBUG Selenium Running with Guard 'ci' set to: github
542:  2025-04-18 11:05:34 DEBUG Selenium [:selenium_manager] Selenium Manager binary found at /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.32.0.nightly.20250418/bin/macos/selenium-manager 
543:  2025-04-18 11:05:34 DEBUG Selenium [:selenium_manager] Executing Process ["/Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.32.0.nightly.20250418/bin/macos/selenium-manager", "--browser", "chrome", "--language-binding", "ruby", "--output", "json", "--debug"] 
544:  Run options: include {:last_run_status=>"failed"}
545:  2025-04-18 11:05:34 DEBUG Selenium [:selenium_manager] chromedriver not found in PATH 
...

604:  2025-04-18 11:05:39 DEBUG Selenium [:process] Checking if 20729 is exited: 
605:  2025-04-18 11:05:39 DEBUG Selenium [:process]   -> exit code is 0 
606:  2025-04-18 11:05:39 DEBUG Selenium [:process] Checking if 20729 is exited: 
607:  2025-04-18 11:05:39 DEBUG Selenium [:process]   -> exit code is 0 
608:  2025-04-18 11:05:39 DEBUG Selenium [:process] Checking if 20729 is exited: 
609:  2025-04-18 11:05:39 DEBUG Selenium [:process]   -> exit code is 0 
610:  .2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'platform' set to: macosx
611:  2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'ci' set to: github
612:  F2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'platform' set to: macosx
613:  2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'ci' set to: github
614:  F2025-04-18 11:05:40 DEBUG Selenium Running with Guard 'platform' set to: macosx
615:  2025-04-18 11:05:40 DEBUG Selenium Running with Guard 'ci' set to: github
616:  F
617:  Failures:
618:  1) Remote WebDriver starts remotely
619:  Got 0 failures and 2 other errors:
620:  1.1) Failure/Error:
621:  Selenium::Server.get(:latest,
622:  background: true,
623:  args: %w[--selenium-manager true --enable-managed-downloads true])
624:  TypeError:
625:  no implicit conversion of String into Integer
...

681:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
682:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>'
683:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `load'
684:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `<top (required)>'
685:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `load'
686:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `kernel_load'
687:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:23:in `run'
688:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:451:in `exec'
689:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
690:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
691:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
692:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in `dispatch'
693:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
694:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in `start'
695:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>'
696:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
697:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>'
698:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `load'
699:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `<main>'
700:  1.2) Failure/Error:
701:  Selenium::Server.get(:latest,
702:  background: true,
703:  args: %w[--selenium-manager true --enable-managed-downloads true])
704:  TypeError:
705:  no implicit conversion of String into Integer
...

761:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
762:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>'
763:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `load'
764:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `<top (required)>'
765:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `load'
766:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `kernel_load'
767:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:23:in `run'
768:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:451:in `exec'
769:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
770:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
771:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
772:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in `dispatch'
773:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
774:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in `start'
775:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>'
776:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
777:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>'
778:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `load'
779:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `<main>'
780:  2) Remote WebDriver uploads
781:  Got 0 failures and 2 other errors:
782:  2.1) Failure/Error:
783:  Selenium::Server.get(:latest,
784:  background: true,
785:  args: %w[--selenium-manager true --enable-managed-downloads true])
786:  TypeError:
787:  no implicit conversion of String into Integer
...

843:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
844:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>'
845:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `load'
846:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `<top (required)>'
847:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `load'
848:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `kernel_load'
849:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:23:in `run'
850:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:451:in `exec'
851:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
852:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
853:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
854:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in `dispatch'
855:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
856:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in `start'
857:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>'
858:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
859:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>'
860:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `load'
861:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `<main>'
862:  2.2) Failure/Error:
863:  Selenium::Server.get(:latest,
864:  background: true,
865:  args: %w[--selenium-manager true --enable-managed-downloads true])
866:  TypeError:
867:  no implicit conversion of String into Integer
...

923:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
924:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>'
925:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `load'
926:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `<top (required)>'
927:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `load'
928:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `kernel_load'
929:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:23:in `run'
930:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:451:in `exec'
931:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
932:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
933:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
934:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in `dispatch'
935:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
936:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in `start'
937:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>'
938:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
939:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>'
940:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `load'
941:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `<main>'
942:  3) Remote WebDriver downloads
943:  Got 0 failures and 2 other errors:
944:  3.1) Failure/Error:
945:  Selenium::Server.get(:latest,
946:  background: true,
947:  args: %w[--selenium-manager true --enable-managed-downloads true])
948:  TypeError:
949:  no implicit conversion of String into Integer
...

1005:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
1006:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>'
1007:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `load'
1008:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `<top (required)>'
1009:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `load'
1010:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `kernel_load'
1011:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:23:in `run'
1012:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:451:in `exec'
1013:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
1014:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
1015:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
1016:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in `dispatch'
1017:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
1018:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in `start'
1019:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>'
1020:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
1021:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>'
1022:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `load'
1023:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `<main>'
1024:  3.2) Failure/Error:
1025:  Selenium::Server.get(:latest,
1026:  background: true,
1027:  args: %w[--selenium-manager true --enable-managed-downloads true])
1028:  TypeError:
1029:  no implicit conversion of String into Integer
...

1085:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
1086:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>'
1087:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `load'
1088:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `<top (required)>'
1089:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `load'
1090:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `kernel_load'
1091:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:23:in `run'
1092:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:451:in `exec'
1093:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
1094:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
1095:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
1096:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in `dispatch'
1097:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
1098:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in `start'
1099:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>'
1100:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
1101:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>'
1102:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `load'
1103:  # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `<main>'
1104:  Finished in 6.18 seconds (files took 0.66094 seconds to load)
1105:  4 examples, 3 failures
1106:  Failed examples:
1107:  rspec ./spec/drivers/remote_webdriver_spec.rb:19 # Remote WebDriver starts remotely
1108:  rspec ./spec/drivers/remote_webdriver_spec.rb:26 # Remote WebDriver uploads
1109:  rspec ./spec/drivers/remote_webdriver_spec.rb:42 # Remote WebDriver downloads
1110:  2025-04-18 11:05:40 DEBUG Selenium [:process] Checking if 20729 is exited: 
1111:  2025-04-18 11:05:40 DEBUG Selenium [:process]   -> exit code is 0 
1112:  2025-04-18 11:05:40 DEBUG Selenium [:process] Checking if 20729 is exited: 
1113:  2025-04-18 11:05:40 DEBUG Selenium [:process]   -> exit code is 0 
1114:  ##[endgroup]
1115:  ##[error]Final attempt failed. Child_process exited with error code 1
1116:  Post job cleanup.

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.

0 participants