Skip to content

Commit

Permalink
Tweaks path
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Dec 7, 2024
1 parent adb9e15 commit 0edb006
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -82,5 +88,5 @@ jobs:
with:
name: screenshots
path: |
test/__image_snapshots__/*.png
visual-test-results.json
./test/__image_snapshots__
./visual-test-results.json

0 comments on commit 0edb006

Please sign in to comment.