Skip to content

Conversation

@MrSerth
Copy link
Member

@MrSerth MrSerth commented Oct 11, 2024

The previously used approach with Timeout.timeout works. However, it might interrupt the page.evaluate_script, which will cause an unhandled exception with the Selenium webdriver which in turn crashes. Once crashed, all further Selenium-based tests will fail, too.

@MrSerth MrSerth added bug ruby Pull requests that update Ruby code labels Oct 11, 2024
@MrSerth MrSerth requested a review from Dome-GER October 11, 2024 21:47
@MrSerth MrSerth self-assigned this Oct 11, 2024
@codecov
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.56%. Comparing base (64816d6) to head (5ac1bb8).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2591   +/-   ##
=======================================
  Coverage   69.56%   69.56%           
=======================================
  Files         202      202           
  Lines        6370     6370           
=======================================
  Hits         4431     4431           
  Misses       1939     1939           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The previously used approach with `Timeout.timeout` works. However, it might interrupt the `page.evaluate_script`, which will cause an unhandled exception with the Selenium webdriver which in turn crashes. Once crashed, all further Selenium-based tests will fail, too.
@MrSerth MrSerth enabled auto-merge (rebase) October 15, 2024 18:31
@MrSerth MrSerth merged commit 2299dce into master Oct 15, 2024
8 checks passed
@MrSerth MrSerth deleted the selenium_wait_for branch October 15, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants