[openSUSE/open-build-service] 5ade2b: Upgrade selenium-webdriver to 4.11.0
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 5ade2b79fb39225dd7fd0df10c8e6036a246b145 https://github.com/openSUSE/open-build-service/commit/5ade2b79fb39225dd7fd0d... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-12-16 (Mon, 16 Dec 2024) Changed paths: M src/api/Gemfile M src/api/Gemfile.lock R src/api/vendor/cache/childprocess-4.1.0.gem A src/api/vendor/cache/selenium-webdriver-4.11.0.gem R src/api/vendor/cache/selenium-webdriver-4.5.0.gem Log Message: ----------- Upgrade selenium-webdriver to 4.11.0 selenium-webdriver brings support to use Chrome for testing (CfT) via selenium-manager. CfT does not auto-updates itself and allows us to set a specific chrome (&chromedriver) version. See https://www.selenium.dev/blog/2023/selenium-4-11-0-released/ Commit: e383014654cc1e0837111ccc9b20a2780ee2bb6d https://github.com/openSUSE/open-build-service/commit/e383014654cc1e0837111c... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-12-16 (Mon, 16 Dec 2024) Changed paths: M src/api/spec/support/capybara.rb Log Message: ----------- Tell selenium-manager to use a specific chromedriver version selenium-manager is a tool introduced by selenium-webdriver to use specific browser versions. Chromedriver version 119 seems to not be affected by the error regarding 'No node with given id found'. See https://issues.chromium.org/issues/42323468#comment95 Commit: 00acfb4c0f9fb2d846f3b900c48332fd1ac2b62e https://github.com/openSUSE/open-build-service/commit/00acfb4c0f9fb2d846f3b9... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-12-16 (Mon, 16 Dec 2024) Changed paths: M src/api/spec/support/capybara.rb Log Message: ----------- Use selenium's new way of selecting headless browsers See https://www.selenium.dev/blog/2023/headless-is-going-away/ Commit: f0fc848957a20f6a1b0f6c9886380b32d8d9a1a5 https://github.com/openSUSE/open-build-service/commit/f0fc848957a20f6a1b0f6c... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-12-16 (Mon, 16 Dec 2024) Changed paths: M src/api/spec/support/capybara.rb Log Message: ----------- Remove the hardcoded driver path This way selenium-manager kicks in and selects the specified browser version See https://www.selenium.dev/blog/2023/whats-new-in-selenium-manager-with-seleni... Commit: 870544805665e6ab786682b0577575360a73db6c https://github.com/openSUSE/open-build-service/commit/870544805665e6ab786682... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-12-16 (Mon, 16 Dec 2024) Changed paths: M src/api/docker-files/Dockerfile Log Message: ----------- Remove chromedriver binary selenium-manager is used to allow the use of specific chrome browser and chromedriver versions. Unfortunately, if the chromedriver binary is present, selenium-manager detects that and then uses that chromedriver version (128) with the downloaded browser version (119), and the spec suite fails with the following error: Selenium::WebDriver::Error::SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 128 Current browser version is 114.0.5735.133 with binary path /home/frontend/.cache/selenium/chrome/linux64/114.0.5735.133/chrome See https://www.selenium.dev/blog/2023/whats-new-in-selenium-manager-with-seleni... Commit: 0c0267735051875dd63e58d46c080b7ea10a3c67 https://github.com/openSUSE/open-build-service/commit/0c0267735051875dd63e58... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-12-16 (Mon, 16 Dec 2024) Changed paths: M dist/obs-bundled-gems.spec M src/api/Gemfile M src/api/Gemfile.lock R src/api/vendor/cache/selenium-webdriver-4.11.0.gem A src/api/vendor/cache/selenium-webdriver-4.16.0.gem Log Message: ----------- Pin base64 to version 0.1.1 We cannot use anything that uses base64 > 0.1.1 as it is provided by the system ruby 3.1. This limits the version of selenium-webdriver that we can use (currently 4.16.0). Take into account binaries like selenium-manager during build selenium-manager lives inside bin/linux, not bin, so the build script crashed in the final steps. This fix skips subdirectories. Commit: 59a76033faee97580629c260e1a0aa2e6c80a2e2 https://github.com/openSUSE/open-build-service/commit/59a76033faee97580629c2... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-12-18 (Wed, 18 Dec 2024) Changed paths: M dist/obs-bundled-gems.spec M src/api/Gemfile M src/api/Gemfile.lock M src/api/docker-files/Dockerfile M src/api/spec/support/capybara.rb R src/api/vendor/cache/childprocess-4.1.0.gem A src/api/vendor/cache/selenium-webdriver-4.16.0.gem R src/api/vendor/cache/selenium-webdriver-4.5.0.gem Log Message: ----------- Merge pull request #16860 from danidoni/fix-no-node-with-give-id-found-selenium-error Fix no node with give id found selenium error Compare: https://github.com/openSUSE/open-build-service/compare/56bb21a51524...59a760... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Dani Donisa