Source: jquery-timepicker Version: 1.6.3-4 Severity: important Dear Maintainer,
the autopkgtest of jquery-timepicker is failing with the most recent version of python3-selenium. This is due a internal change in Selenium upstream since version 4.11.0. Upstream is using a method/component called Selenium Manager since then and as we can't ship this due it's binary form calling webdriver.Chrome() needs to be extended about the information which driver needs to be used. Please see attached patch that will fix the autopkgtest so it can bee succeeding as before. Regards Carsten -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.3.0-1-amd64 (SMP w/20 CPU threads; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
>From 18ec221fd0f31bdb16c5f915732ac595d5c0a79b Mon Sep 17 00:00:00 2001 From: Carsten Schoenert <c.schoen...@t-online.de> Date: Sat, 12 Aug 2023 09:27:11 +0200 Subject: [PATCH] autopkgtest: Tune Selenium setup to use local chromedriver Selenium upstream did change the internal behavior to use Selenium Manager which we can not use directly, it's shipped as a pre-compiled binary currently. It's not packaged yet in any form. Instead set the path to the chromdriver executable manually and extend the options on the webdriver.chrome() call. --- debian/tests/test-runner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/tests/test-runner.py b/debian/tests/test-runner.py index e78db56..f2f4db3 100644 --- a/debian/tests/test-runner.py +++ b/debian/tests/test-runner.py @@ -1,6 +1,7 @@ from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.common.by import By +from selenium.webdriver.chrome.service import Service as ChromeService import os options = webdriver.ChromeOptions() @@ -9,7 +10,8 @@ options.add_argument('--no-sandbox') options.add_argument('--headless') options.add_argument('--disable-gpu') options.add_argument('--disable-dev-shm-usage') -driver = webdriver.Chrome(options=options) +service = ChromeService(executable_path="/usr/bin/chromedriver") +driver = webdriver.Chrome(options=options, service=service) print("Running tests") driver.get("http://localhost:8888/SpecRunner.html?random=false") -- 2.40.1
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel