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

chore(deps): update dependency rubocop to v1.70.0 #2125

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop (source, changelog) 1.69.2 -> 1.70.0 age adoption passing confidence

Release Notes

rubocop/rubocop (rubocop)

v1.70.0

Compare Source

New features
Bug fixes
  • #​13589: Fix Lint/NonAtomicFileOperation to detect offenses with fully qualified constants. ([@​viralpraxis][])
  • #​13630: Fix CLI --format option to accept fully qualified formatter class names. ([@​viralpraxis][])
  • #​13624: Don't show warnings from Lint/Syntax when a syntax error occurs. ([@​earlopain][])
  • #​13605: Fix RuboCop::Cop::Util.to_string_literal to work correctly with frozen strings. ([@​viralpraxis][])
  • #​12393: Fix false negatives for Lint/Void inside of non-modifier conditionals. ([@​GabeIsman][])
  • #​13623: Fix false negatives for Style/MultipleComparison when setting AllowMethodComparison: false and comparing with simple method calls. ([@​koic][])
  • #​13644: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when an access modifier and an expression are on the same line. ([@​koic][])
  • #​13645: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and last argument is an endless range. ([@​earlopain][])
  • #​13614: Fix false positives for Style/RaiseArgs with anonymous splat and triple dot forwarding. ([@​earlopain][])
  • #​13591: Fix false positives for Lint/NestedMethodDefinition when defining a method on a constant or a method call. ([@​koic][])
  • #​13594: Fix false positives for Style/MultipleComparison when using multiple safe navigation method calls. ([@​koic][])
  • #​13654: Fix false positives for Style/RedundantInitialize when empty initialize method has arguments. ([@​marocchino][])
  • #​13608: Fix crash when running rubocop -d on a config with a remote inherit_from that causes a duplicate setting warning. ([@​dvandersluis][])
  • #​12430: Fix false negatives in Style/RedundantLineContinuation with multiple line continuations. ([@​dvandersluis][])
  • #​13638: Fix false positive for Naming/BlockForwarding when method just returns the block argument. ([@​mvz][])
  • #​13599: Fix incorrect autocorrect for Layout/HashAlignment when there is a multiline positional argument and Layout/ArgumentAlignment is configured with EnforcedStyle: with_fixed_indentation. ([@​dvandersluis][])
  • #​13586: Fix regression in Layout/SpaceAroundOperators when different comparison operators were aligned with each other. ([@​dvandersluis][])
  • #​13603: Fix Lint/LiteralInInterpolation cop error on invalid string literal. ([@​viralpraxis][])
  • #​13582: Fix Lint/NonAtomicFileOperation cop error on non-constant receiver. ([@​viralpraxis][])
  • #​13598: Fix Lint/Void cop error on if without body. ([@​viralpraxis][])
  • #​13634: Fix Style/ClassAndModuleChildren cop error on compact enforced style and unindented body. ([@​viralpraxis][])
  • #​13642: Fix Style/FloatDivision cop error if #to_f has implicit receiver. ([@​viralpraxis][])
  • #​13517: Fixes Style/HashExcept to recognize safe navigation when ActiveSupportExtensionsEnabled config is enabled. ([@​lovro-bikic][])
  • #​13585: Fix Style/HashSyntax cop error on implicit call method. ([@​viralpraxis][])
  • #​13632: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains elsif. ([@​viralpraxis][])
  • #​13659: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains multiple elsif. ([@​viralpraxis][])
  • #​13596: Fix Style/RedundantCondition cop error on parentheses and modifier if in else. ([@​viralpraxis][])
  • #​13616: Fix incorrect autocorrect for Style/RedundantRegexpArgument when the regex contains a single quote. ([@​mrzasa][])
  • #​13619: Fix Style/YodaExpression cop error in case of suffix form of operator. ([@​viralpraxis][])
  • #​13578: Update Layout/LineContinuationSpacing to ignore continuations inside a regexp or xstr. ([@​dvandersluis][])
  • #​13601: Update Style/SuperArguments to handle super with a block or with a chained method with a block. ([@​dvandersluis][])
  • #​13568: Fix NoMethodError in ConfigValidator when a Cop's config is not a Hash and raise ValidationError instead. ([@​amomchilov][])
Changes

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 Jan 10, 2025

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit e5793bf
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/6780f2730f146b000844da53
😎 Deploy Preview https://deploy-preview-2125--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 Jan 10, 2025

CI Failure Feedback 🧐

(Checks updated until commit e5793bf)

Action: tests (windows, stable)

Failed stage: Run tests [❌]

Failed test name: Internet Explorer Service logs to file

Failure summary:

The RSpec test suite failed due to connection issues with Internet Explorer Service tests.
Specifically:

  • Failed to establish TCP connections to localhost (127.0.0.1) on ports 5555 and 5556
  • The main failing test was "Internet Explorer Service logs to file" which could not connect to the IE
    driver
  • The action made 3 attempts but all failed with connection refused errors
  • Out of 185 test examples, there was 1 failure and 34 pending tests in the final attempt

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Microsoft Windows Server 2022
    ...
    
    350:  timeout_minutes: 20
    351:  max_attempts: 3
    352:  command: cd examples/ruby
    353:  bundle exec rspec
    354:  
    355:  retry_wait_seconds: 10
    356:  polling_interval_seconds: 1
    357:  warning_on_retry: true
    358:  continue_on_error: false
    ...
    
    397:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.0/lib/rspec/support/source.rb:73:in 'Enumerable#select'
    398:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.0/lib/rspec/support/source.rb:73:in 'RSpec::Support::Source#nodes_by_line_number'
    399:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:118:in 'RSpec::Core::Formatters::SnippetExtractor#location_nodes_at_beginning_line'
    400:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:96:in 'RSpec::Core::Formatters::SnippetExtractor#expression_node'
    401:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:88:in 'RSpec::Core::Formatters::SnippetExtractor#line_range_of_location_nodes_in_expression'
    402:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:57:in 'RSpec::Core::Formatters::SnippetExtractor#line_range_of_expression'
    403:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:42:in 'RSpec::Core::Formatters::SnippetExtractor#expression_lines'
    404:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:31:in 'RSpec::Core::Formatters::SnippetExtractor.extract_expression_lines_at'
    405:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:248:in 'RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines'
    406:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:171:in 'RSpec::Core::Formatters::ExceptionPresenter#failure_slash_error_lines'
    407:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:158:in 'block in RSpec::Core::Formatters::ExceptionPresenter#failure_lines'
    408:  from <internal:kernel>:91:in 'Kernel#tap'
    409:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:157:in 'RSpec::Core::Formatters::ExceptionPresenter#failure_lines'
    410:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:34:in 'RSpec::Core::Formatters::ExceptionPresenter#colorized_message_lines'
    411:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:274:in 'RSpec::Core::Formatters::ExceptionPresenter#formatted_message_and_backtrace'
    412:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:93:in 'RSpec::Core::Formatters::ExceptionPresenter#fully_formatted_lines'
    413:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:85:in 'RSpec::Core::Formatters::ExceptionPresenter#fully_formatted'
    414:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/notifications.rb:202:in 'RSpec::Core::Notifications::FailedExampleNotification#fully_formatted'
    ...
    
    429:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in 'RSpec::Core::Runner.run'
    430:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in 'RSpec::Core::Runner.invoke'
    431:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/exe/rspec:4:in '<top (required)>'
    432:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/bin/rspec:25:in 'Kernel#load'
    433:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/bin/rspec:25:in '<main>'
    434:  Pending: (Failures listed here are expected and do not affect your suite's status)
    435:  1) Keys copy and paste
    436:  # Test guarded; Guarded by {browser: :chrome, reason: "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4264"};
    437:  Failure/Error: expect(driver.find_element(id: 'textInput').attribute('value')).to eq 'SeleniumSelenium!'
    438:  expected: "SeleniumSelenium!"
    439:  got: "!"
    440:  (compared using ==)
    441:  # ./spec/actions_api/keys_spec.rb:76:in 'block (2 levels) in <top (required)>'
    442:  2) Network waits for downloads
    443:  # Test guarded; Guarded by {platform: :windows, reason: "No reason given"};
    444:  Failure/Error: expect { Selenium::WebDriver::Wait.new.until { @completed } }.not_to raise_exception
    445:  expected no Exception, got #<Selenium::WebDriver::Error::TimeoutError: timed out after 5 seconds> with backtrace:
    ...
    
    539:  33) Element Locators with relative locators finds near element
    540:  # These are reference following the documentation example
    541:  # ./spec/elements/locators_spec.rb:55
    542:  34) Element Locators with relative locators chains relative locators
    543:  # These are reference following the documentation example
    544:  # ./spec/elements/locators_spec.rb:59
    545:  Failures:
    546:  1) Internet Explorer Options basic options Win11
    547:  Failure/Error: config.after { @driver&.quit }
    548:  Errno::ECONNREFUSED:
    549:  Failed to open TCP connection to 127.0.0.1:5555 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5555)
    550:  # ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    551:  # ------------------
    552:  # --- Caused by: ---
    553:  # Errno::ECONNREFUSED:
    554:  #   No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5555
    555:  #   ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    556:  2) Internet Explorer Options ensures a clean session
    557:  Failure/Error: driver.quit
    558:  Net::ReadTimeout:
    559:  Net::ReadTimeout with #<TCPSocket:(closed)>
    560:  # ./spec/browsers/internet_explorer_spec.rb:37:in 'block (3 levels) in <top (required)>'
    561:  3) Internet Explorer Service logs to file
    562:  Failure/Error: config.after { @driver&.quit }
    563:  Errno::ECONNREFUSED:
    564:  Failed to open TCP connection to 127.0.0.1:5556 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556)
    565:  # ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    566:  # ------------------
    567:  # --- Caused by: ---
    568:  # Errno::ECONNREFUSED:
    569:  #   No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556
    570:  #   ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    571:  4) Internet Explorer Service logs to console
    572:  Failure/Error: config.after { @driver&.quit }
    573:  Errno::ECONNREFUSED:
    574:  Failed to open TCP connection to 127.0.0.1:5556 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556)
    575:  # ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    576:  # ------------------
    577:  # --- Caused by: ---
    578:  # Errno::ECONNREFUSED:
    579:  #   No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556
    580:  #   ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    581:  5) Internet Explorer Service sets log level
    582:  Failure/Error: config.after { @driver&.quit }
    583:  Errno::ECONNREFUSED:
    584:  Failed to open TCP connection to 127.0.0.1:5556 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556)
    585:  # ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    586:  # ------------------
    587:  # --- Caused by: ---
    588:  # Errno::ECONNREFUSED:
    589:  #   No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556
    590:  #   ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    591:  Finished in 14 minutes 35 seconds (files took 47.44 seconds to load)
    592:  185 examples, 5 failures, 34 pending
    593:  Failed examples:
    594:  rspec ./spec/browsers/internet_explorer_spec.rb:23 # Internet Explorer Options basic options Win11
    595:  rspec ./spec/browsers/internet_explorer_spec.rb:34 # Internet Explorer Options ensures a clean session
    596:  rspec ./spec/browsers/internet_explorer_spec.rb:79 # Internet Explorer Service logs to file
    597:  rspec ./spec/browsers/internet_explorer_spec.rb:88 # Internet Explorer Service logs to console
    598:  rspec ./spec/browsers/internet_explorer_spec.rb:98 # Internet Explorer Service sets log level
    599:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
    ...
    
    649:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in 'RSpec::Core::Runner.invoke'
    650:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/exe/rspec:4:in '<top (required)>'
    651:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/bin/rspec:25:in 'Kernel#load'
    652:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/bin/rspec:25:in '<main>'
    653:  ....
    654:  Pending: (Failures listed here are expected and do not affect your suite's status)
    655:  1) Keys copy and paste
    656:  # Test guarded; Guarded by {browser: :chrome, reason: "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4264"};
    657:  Failure/Error: expect(driver.find_element(id: 'textInput').attribute('value')).to eq 'SeleniumSelenium!'
    658:  expected: "SeleniumSelenium!"
    659:  got: "!"
    660:  (compared using ==)
    661:  # ./spec/actions_api/keys_spec.rb:76:in 'block (2 levels) in <top (required)>'
    662:  2) Network waits for downloads
    663:  # Test guarded; Guarded by {platform: :windows, reason: "No reason given"};
    664:  Failure/Error: expect { Selenium::WebDriver::Wait.new.until { @completed } }.not_to raise_exception
    665:  expected no Exception, got #<Selenium::WebDriver::Error::TimeoutError: timed out after 5 seconds> with backtrace:
    ...
    
    759:  33) Element Locators with relative locators finds near element
    760:  # These are reference following the documentation example
    761:  # ./spec/elements/locators_spec.rb:55
    762:  34) Element Locators with relative locators chains relative locators
    763:  # These are reference following the documentation example
    764:  # ./spec/elements/locators_spec.rb:59
    765:  Failures:
    766:  1) Internet Explorer Service logs to file
    767:  Failure/Error: config.after { @driver&.quit }
    768:  Errno::ECONNREFUSED:
    769:  Failed to open TCP connection to 127.0.0.1:5556 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556)
    770:  # ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    771:  # ------------------
    772:  # --- Caused by: ---
    773:  # Errno::ECONNREFUSED:
    774:  #   No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556
    775:  #   ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    776:  Finished in 7 minutes 52 seconds (files took 2.91 seconds to load)
    777:  185 examples, 1 failure, 34 pending
    778:  Failed examples:
    779:  rspec ./spec/browsers/internet_explorer_spec.rb:79 # Internet Explorer Service logs to file
    780:  ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
    ...
    
    790:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.0/lib/rspec/support/source.rb:7:in '<module:RSpec>'
    791:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.0/lib/rspec/support/source.rb:6:in '<top (required)>'
    792:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.0/lib/rspec/support.rb:35:in 'Kernel#require_relative'
    793:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.0/lib/rspec/support.rb:35:in 'block in <module:Support>'
    794:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.0/lib/rspec/support.rb:26:in 'block in RSpec::Support.define_optimized_require_for_rspec'
    795:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/world.rb:156:in 'RSpec::Core::World#source_from_file'
    796:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:18:in 'RSpec::Core::Formatters::SnippetExtractor.source_from_file'
    797:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/snippet_extractor.rb:30:in 'RSpec::Core::Formatters::SnippetExtractor.extract_expression_lines_at'
    798:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:248:in 'RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines'
    799:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:171:in 'RSpec::Core::Formatters::ExceptionPresenter#failure_slash_error_lines'
    800:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:158:in 'block in RSpec::Core::Formatters::ExceptionPresenter#failure_lines'
    801:  from <internal:kernel>:91:in 'Kernel#tap'
    802:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:157:in 'RSpec::Core::Formatters::ExceptionPresenter#failure_lines'
    803:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:34:in 'RSpec::Core::Formatters::ExceptionPresenter#colorized_message_lines'
    804:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:274:in 'RSpec::Core::Formatters::ExceptionPresenter#formatted_message_and_backtrace'
    805:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:93:in 'RSpec::Core::Formatters::ExceptionPresenter#fully_formatted_lines'
    806:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/formatters/exception_presenter.rb:85:in 'RSpec::Core::Formatters::ExceptionPresenter#fully_formatted'
    807:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/notifications.rb:202:in 'RSpec::Core::Notifications::FailedExampleNotification#fully_formatted'
    ...
    
    822:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in 'RSpec::Core::Runner.run'
    823:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in 'RSpec::Core::Runner.invoke'
    824:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.0/exe/rspec:4:in '<top (required)>'
    825:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/bin/rspec:25:in 'Kernel#load'
    826:  from C:/hostedtoolcache/windows/Ruby/3.4.1/x64/bin/rspec:25:in '<main>'
    827:  Pending: (Failures listed here are expected and do not affect your suite's status)
    828:  1) Keys copy and paste
    829:  # Test guarded; Guarded by {browser: :chrome, reason: "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4264"};
    830:  Failure/Error: expect(driver.find_element(id: 'textInput').attribute('value')).to eq 'SeleniumSelenium!'
    831:  expected: "SeleniumSelenium!"
    832:  got: "!"
    833:  (compared using ==)
    834:  # ./spec/actions_api/keys_spec.rb:76:in 'block (2 levels) in <top (required)>'
    835:  2) Network waits for downloads
    836:  # Test guarded; Guarded by {platform: :windows, reason: "No reason given"};
    837:  Failure/Error: expect { Selenium::WebDriver::Wait.new.until { @completed } }.not_to raise_exception
    838:  expected no Exception, got #<Selenium::WebDriver::Error::TimeoutError: timed out after 5 seconds> with backtrace:
    ...
    
    932:  33) Element Locators with relative locators finds near element
    933:  # These are reference following the documentation example
    934:  # ./spec/elements/locators_spec.rb:55
    935:  34) Element Locators with relative locators chains relative locators
    936:  # These are reference following the documentation example
    937:  # ./spec/elements/locators_spec.rb:59
    938:  Failures:
    939:  1) Internet Explorer Service logs to file
    940:  Failure/Error: config.after { @driver&.quit }
    941:  Errno::ECONNREFUSED:
    942:  Failed to open TCP connection to 127.0.0.1:5556 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556)
    943:  # ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    944:  # ------------------
    945:  # --- Caused by: ---
    946:  # Errno::ECONNREFUSED:
    947:  #   No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556
    948:  #   ./spec/spec_helper.rb:28:in 'block (2 levels) in <top (required)>'
    949:  Finished in 7 minutes 53 seconds (files took 3.13 seconds to load)
    950:  185 examples, 1 failure, 34 pending
    951:  Failed examples:
    952:  rspec ./spec/browsers/internet_explorer_spec.rb:79 # Internet Explorer Service logs to file
    953:  ##[error]Final attempt failed. Child_process exited with error code 1
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    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