From f5ec34cdf91fb4e4ae2812e722ecc5de088b55f9 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Mon, 28 Jul 2025 17:52:26 +0200 Subject: [PATCH] =?UTF-8?q?Add=20docu=C3=B9entation=20for=20WebUI=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_webui.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/test_webui.py b/tests/test_webui.py index 09f324c3..6853f148 100755 --- a/tests/test_webui.py +++ b/tests/test_webui.py @@ -7,7 +7,21 @@ # SPDX-License-Identifier: LGPL-3.0-only # -"""Glances unitary tests suite for the WebUI.""" +"""Glances unitary tests suite for the WebUI. + +This test uses Selenium to test the Glances WebUI. +Under the wood, it uses the ChromeDriver. + +Check your Chrome version with: + /usr/bin/google-chrome --version +Check your ChromeDriver version with: + /usr/bin/chromedriver --version + +The (major) version should match. + +If not, download and install the correct version of ChromeDriver. +https://googlechromelabs.github.io/chrome-for-testing/#stable +""" import os import tempfile