feat: retain visual test artifacts on failure

- Updated `playwright.config.ts` to use separate projects for 'visual' and 'e2e' tests.
- Configured 'visual' project to retain screenshots, traces, and videos on failure.
- Set Playwright output directory to `artifacts/test-results`.
- Added `scripts/show-artifacts.sh` to help locate test artifacts.
- Updated `KNOWN_ISSUES.md` and `README.md` with debugging instructions.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-22 20:20:20 +00:00
1 parent 570da693a2
commit 29df7ad507
4 files changed
+41 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# script to show artifacts
ARTIFACTS_DIR="artifacts/test-results"
if [ -d "$ARTIFACTS_DIR" ]; then
echo "Artifacts located in $ARTIFACTS_DIR"
echo "Listing contents:"
ls -F "$ARTIFACTS_DIR"
else
echo "No artifacts found in $ARTIFACTS_DIR"
fi