From ee380ce13969c3ea0a507d51fa6456e32d68d085 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Jun 2026 08:59:47 +0300 Subject: Clarify render logs and interrupt cleanup --- tests/cli.sh | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 97 insertions(+), 5 deletions(-) (limited to 'tests/cli.sh') diff --git a/tests/cli.sh b/tests/cli.sh index 905f6a4..c2dbca2 100755 --- a/tests/cli.sh +++ b/tests/cli.sh @@ -792,7 +792,8 @@ test_default_output_reports_routine_progress() { ) test::assert_contains 'Processing 01-landscape.jpg to' "$output" - test::assert_contains 'Generating ' "$output" + test::assert_contains 'Rendering header template into ' "$output" + test::assert_contains 'Rendering view template into ' "$output" test::assert_contains 'Creating thumb ' "$output" test::assert_not_contains 'Verbose:' "$output" test::teardown @@ -820,7 +821,7 @@ test_quiet_output_suppresses_routine_progress() { ) test::assert_not_contains 'Processing ' "$output" - test::assert_not_contains 'Generating ' "$output" + test::assert_not_contains 'Rendering ' "$output" test::assert_not_contains 'Creating thumb ' "$output" test::assert_file_exists "$TEST_TMPDIR/dist/photoalbum.json" test::teardown @@ -1047,7 +1048,7 @@ test_repeated_output_flags_use_last_value() { "$verbose_last_output" test::assert_not_contains 'Verbose:' "$quiet_last_output" test::assert_not_contains 'Processing ' "$quiet_last_output" - test::assert_not_contains 'Generating ' "$quiet_last_output" + test::assert_not_contains 'Rendering ' "$quiet_last_output" test::teardown } @@ -2023,6 +2024,9 @@ test_integration_generates_album_outputs_and_cleans() { test::assert_contains 'Next 2 pictures' "$page_html" test::assert_contains 'No EXIF details available.' "$details_html" test::assert_contains '
' "$details_html" + test::assert_contains '
' "$details_html" + test::assert_contains '