Skip to content

Local social media automation dashboard for TikTok, Instagram, and YouTube.

Ignore QA screenshot artifacts

Katzca6deb560ee58e
diff --git a/.gitignore b/.gitignore
index a7186a3..20192fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,7 @@ user-assets/
# Debug screenshots
last-*.png
+qa-*.png
.dashboard.*.log
# Saved browser pages (dev reference, root-level only)
diff --git a/scripts/clean-runtime.js b/scripts/clean-runtime.js
index 3d22449..77b0ace 100644
--- a/scripts/clean-runtime.js
+++ b/scripts/clean-runtime.js
@@ -16,7 +16,11 @@ function collectCleanupTargets(root = projectRoot) {
continue;
}
- if (/^last-.*\.png$/i.test(entry.name) || /^\.dashboard\..*\.log$/i.test(entry.name)) {
+ if (
+ /^last-.*\.png$/i.test(entry.name) ||
+ /^qa-.*\.png$/i.test(entry.name) ||
+ /^\.dashboard\..*\.log$/i.test(entry.name)
+ ) {
targets.push(path.join(root, entry.name));
}
}
diff --git a/test/clean-runtime.test.js b/test/clean-runtime.test.js
index b8a20e1..a32d303 100644
--- a/test/clean-runtime.test.js
+++ b/test/clean-runtime.test.js
@@ -20,6 +20,7 @@ test("clean debug targets only include screenshots and dashboard logs", () => {
path.join(root, ".local", "dashboard.out.log"),
path.join(root, "last-upload-error.png"),
path.join(root, "last-youtube-upload-success.png"),
+ path.join(root, "qa-setup.png"),
];
for (const target of expectedTargets) {
touch(target);