From 0edb0066da6390381d1046de0612ab4d32572a59 Mon Sep 17 00:00:00 2001 From: Viktor Petersson Date: Sat, 7 Dec 2024 14:58:00 +0000 Subject: [PATCH] Tweaks path --- .github/workflows/test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8e8243..d663476 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -66,6 +66,12 @@ jobs: # Run tests with proper browser configuration and update snapshots CHROME_PATH="$(which chrome)" xvfb-run --auto-servernum --server-args="-screen 0 1280x800x24" npm run test:visual:ci -- -u --json --outputFile=visual-test-results.json 2>&1 | tee test-output.log + # Debug - show what files exist + echo "=== Files in test/__image_snapshots__ ===" + ls -la test/__image_snapshots__/ + echo "=== All PNG files in workspace ===" + find . -name "*.png" -ls + # Show test results if available if [ -f "visual-test-results.json" ]; then echo "## Visual Test Results" >> $GITHUB_STEP_SUMMARY @@ -82,5 +88,5 @@ jobs: with: name: screenshots path: | - test/__image_snapshots__/*.png - visual-test-results.json \ No newline at end of file + ./test/__image_snapshots__ + ./visual-test-results.json \ No newline at end of file