From 6f36828a02b8908c3b1c7ac16a95ff396dcd4432 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Wed, 30 May 2018 11:57:20 +0200 Subject: [PATCH] Fix Zalenium job build --- test/script_scenario_zalenium | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/script_scenario_zalenium b/test/script_scenario_zalenium index 92b08632..70ab243c 100755 --- a/test/script_scenario_zalenium +++ b/test/script_scenario_zalenium @@ -57,21 +57,21 @@ if ! ls -la tmp_videos/dashboard.html; then fi # There should be (2 * 3) videos -if ! ls -la tmp_videos/zalenium-build/*.mp4; then +if ! ls -la tmp_videos/zalenium_build/*.mp4; then ls -la tmp_videos/ || true die "Video files were not found in the expected folder" 120 fi export VID_EXT="mp4" export EXPECTED_VID_COUNT="6" -export VID_FOLDER="tmp_videos/zalenium-build" +export VID_FOLDER="tmp_videos/zalenium_build" # Wait up to 40 seconds for the videos to be there if [ "$(uname)" = 'Darwin' ]; then ./test/wait_videos_count else if ! timeout --foreground 40s test/wait_videos_count; then - ls -la tmp_videos/zalenium-build/ || true + ls -la tmp_videos/zalenium_build/ || true die "Waited a few seconds for '${EXPECTED_VID_COUNT}' '${VID_EXT}' videos to be at ${VID_FOLDER}" fi fi