From ff0ddad450acf53bb5a65106f361af447305c747 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sun, 15 Jun 2025 15:58:47 +0200 Subject: Set test wait time to 1 second but allow override Use the environment variable DILLO_TEST_WAIT_TIME to lower the default time to wait since dillo window appears and when we take the screenshot to compare the rendering output. --- test/html/driver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/html/driver.sh b/test/html/driver.sh index 76e3b2ef..07a78b84 100755 --- a/test/html/driver.sh +++ b/test/html/driver.sh @@ -42,7 +42,7 @@ function render_page() { if [ ! -z "$winid" ]; then found_window=true # Wait some after the window appears to ensure rendering is done - sleep 0.25 + sleep ${DILLO_TEST_WAIT_TIME:-1} break fi done -- cgit v1.2.3