From a3fb02776dd1b12108869df7dd6141b1c07c930a Mon Sep 17 00:00:00 2001 From: Zaid Marji Date: Sun, 24 May 2026 10:42:41 +0300 Subject: [PATCH] gitignore: catch stray playwright artifacts at the repo root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `playwright/.gitignore` already excludes `test-results/` and `playwright-report/` relative to `playwright/`. But playwright artifacts can land at the repo root if the suite is ever invoked from there (e.g., via a debug script that imports playwright directly outside the test runner), leaving an untracked `./test-results/.last-run.json` cluttering `git status`. Adding the same entries at the repo-root .gitignore catches those cases too — defensive and zero behavior change. --- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index e991430e..8512ec98 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,9 @@ data # Web vault web-vault + +# Playwright artifacts (the suite is invoked from playwright/ so its +# own .gitignore catches in-tree paths; this catches stray artifacts +# that end up at the repo root when playwright is invoked elsewhere). +test-results +playwright-report