diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-06-15 15:58:47 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-06-29 14:05:04 +0200 |
commit | ff0ddad450acf53bb5a65106f361af447305c747 (patch) | |
tree | 85cad6255eba5f1bc0c7a9ce3a38966868f9fee6 /test/html | |
parent | b37e449f2bddf443a73b308ca1d764b0dbdc86c5 (diff) |
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.
Diffstat (limited to 'test/html')
-rwxr-xr-x | test/html/driver.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |