π Problem Statement
Both playwright-report/ and test-results/ directories are committed to the Debugra repository. These are generated output directories produced by Playwright test runs β they contain:
- HTML test reports with embedded screenshots and video recordings of test runs
- JSON result files with timestamps and system paths from the CI runner
- Binary assets (PNG screenshots, WebM videos) that can be megabytes per test run
These artifacts:
- Grow with every test run and will accumulate indefinitely
- Contain CI runner system paths and environment information that shouldn't be public
- Create constant noise in
git diff for maintainers
- Inflate clone size unnecessarily for every contributor
Playwright generates these automatically β they should be in .gitignore and served by CI (e.g., GitHub Actions artifact uploads) rather than committed.
Fix Required
# Remove from tracking
git rm -r --cached playwright-report/ test-results/
# Add to .gitignore (these may already be in .gitignore but were committed before the rule was added)
echo "playwright-report/" >> .gitignore
echo "test-results/" >> .gitignore
echo "test-results/**" >> .gitignore
git commit -m "chore: remove playwright test artifacts from version control"
Update the .github/workflows/ CI file to upload Playwright reports as GitHub Actions artifacts instead:
- name: Upload Playwright Report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
Files to Modify
| File |
Change |
playwright-report/ |
Remove from git tracking |
test-results/ |
Remove from git tracking |
.gitignore |
Confirm/add these patterns |
.github/workflows/ |
Add artifact upload step |
Suggested labels: chore, CI/CD, good first issue, level: beginner
I would like to work on this. Could you please assign it to me?
π Problem Statement
Both
playwright-report/andtest-results/directories are committed to the Debugra repository. These are generated output directories produced by Playwright test runs β they contain:These artifacts:
git difffor maintainersPlaywright generates these automatically β they should be in
.gitignoreand served by CI (e.g., GitHub Actions artifact uploads) rather than committed.Fix Required
Update the
.github/workflows/CI file to upload Playwright reports as GitHub Actions artifacts instead:Files to Modify
playwright-report/test-results/.gitignore.github/workflows/Suggested labels:
chore,CI/CD,good first issue,level: beginnerI would like to work on this. Could you please assign it to me?