chore: update .gitignore for comprehensive E2E test artifacts
- Add comprehensive ignore rules for E2E test results - Ignore all test media files (screenshots, videos, traces) - Add ignore rules for allure-results and playwright-report - Remove .gitkeep exceptions for test-results directories - Add ignore rules for test execution artifacts - Ensure visual regression snapshots are tracked (not ignored) - Remove temporary test files (hero-check.png, test-screenshot.png) Test results directories: - e2e/test-results/ (1.3G) - e2e/playwright-report/ (1.3G) - e2e/allure-results/ (12G) Visual regression snapshots in e2e/src/tests/visual/*-snapshots/ will be committed to version control for baseline comparison.
This commit is contained in:
+126
-34
@@ -16,6 +16,12 @@ node_modules/
|
||||
out/
|
||||
.swc/
|
||||
|
||||
# Next.js specific
|
||||
.next/types/
|
||||
.next/server/
|
||||
.next/build-manifest.json
|
||||
.next/react-loadable-manifest.json
|
||||
|
||||
# Production
|
||||
build/
|
||||
dist/
|
||||
@@ -68,19 +74,75 @@ venv.bak/
|
||||
virtualenv/
|
||||
virtualenvs/
|
||||
|
||||
# Python E2E Tests
|
||||
e2e-tests/.pytest_cache/
|
||||
e2e-tests/__pycache__/
|
||||
e2e-tests/.venv/
|
||||
e2e-tests/venv/
|
||||
e2e-tests/*.egg-info/
|
||||
|
||||
# Playwright
|
||||
test-results/
|
||||
!test-results/.gitkeep
|
||||
!test-results/performance/.gitkeep
|
||||
!test-results/accessibility/.gitkeep
|
||||
playwright-report/
|
||||
playwright/.cache/
|
||||
*.traces/
|
||||
playwright-traces/
|
||||
|
||||
# Allure Reports
|
||||
# E2E test results and reports (comprehensive)
|
||||
e2e/test-results/
|
||||
e2e/test-results/**/
|
||||
e2e/playwright-report/
|
||||
e2e/playwright-report/**/
|
||||
e2e/playwright/.cache/
|
||||
e2e/allure-results/
|
||||
e2e/allure-results/**/
|
||||
e2e/allure-report/
|
||||
e2e/.last-run.json
|
||||
e2e/junit.xml
|
||||
|
||||
# Test result files (screenshots, videos, traces)
|
||||
e2e/test-results/**/*.png
|
||||
e2e/test-results/**/*.jpg
|
||||
e2e/test-results/**/*.jpeg
|
||||
e2e/test-results/**/*.webp
|
||||
e2e/test-results/**/*.avif
|
||||
e2e/test-results/**/*.gif
|
||||
e2e/test-results/**/*.webm
|
||||
e2e/test-results/**/*.mp4
|
||||
e2e/test-results/**/*.zip
|
||||
e2e/test-results/**/*.json
|
||||
e2e/test-results/**/*.xml
|
||||
e2e/test-results/**/*.html
|
||||
|
||||
# Playwright report media files
|
||||
e2e/playwright-report/**/*.png
|
||||
e2e/playwright-report/**/*.jpg
|
||||
e2e/playwright-report/**/*.webm
|
||||
e2e/playwright-report/**/*.mp4
|
||||
e2e/playwright-report/**/*.zip
|
||||
e2e/playwright-report/data/
|
||||
e2e/playwright-report/index.html
|
||||
|
||||
# Allure test results and reports
|
||||
allure-results/
|
||||
allure-report/
|
||||
e2e/allure-*/
|
||||
test-framework/allure-*/
|
||||
e2e-tests/allure-*/
|
||||
e2e/allure-results/**/*.png
|
||||
e2e/allure-results/**/*.jpg
|
||||
e2e/allure-results/**/*.webp
|
||||
e2e/allure-results/**/*.webm
|
||||
e2e/allure-results/**/*.json
|
||||
e2e/allure-results/**/*.xml
|
||||
test-framework/allure-results/**/*.png
|
||||
test-framework/allure-results/**/*.jpg
|
||||
|
||||
# Test Framework Reports
|
||||
test-framework/reports/
|
||||
e2e/test-report.md
|
||||
e2e-tests/results/
|
||||
e2e-tests/reports/
|
||||
|
||||
# Testing
|
||||
coverage/
|
||||
@@ -183,9 +245,12 @@ dist-ssr/
|
||||
# Three.js
|
||||
*.three.json
|
||||
|
||||
# Image optimization
|
||||
*.avif
|
||||
*.webp
|
||||
# Image optimization - only ignore in specific directories
|
||||
# Keep public images and visual regression snapshots
|
||||
# test-results/**/*.avif
|
||||
# test-results/**/*.webp
|
||||
# test-results/**/*.png
|
||||
# test-results/**/*.jpg
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
@@ -202,36 +267,63 @@ test-screenshot.png
|
||||
hero-check.png
|
||||
playwright-test-not-portal.js
|
||||
|
||||
# CI/CD
|
||||
.gitlab-ci-local/
|
||||
.github/workflows/*.local.yml
|
||||
.woodpecker/
|
||||
# Test screenshots and images - ignore all test output
|
||||
# Allure attachments
|
||||
e2e/allure-results/**/*.png
|
||||
e2e/allure-results/**/*.jpg
|
||||
e2e/allure-results/**/*.webp
|
||||
test-framework/allure-results/**/*.png
|
||||
test-framework/allure-results/**/*.jpg
|
||||
|
||||
# Documentation
|
||||
docs/plans/*.md.bak
|
||||
# Playwright test results (all media files)
|
||||
test-results/**/*.png
|
||||
test-results/**/*.jpg
|
||||
test-results/**/*.jpeg
|
||||
test-results/**/*.webp
|
||||
test-results/**/*.avif
|
||||
test-results/**/*.gif
|
||||
test-results/**/*.webm
|
||||
test-results/**/*.mp4
|
||||
test-results/**/*.zip
|
||||
|
||||
# Database
|
||||
*.db
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
# Build output images
|
||||
dist/**/*.png
|
||||
dist/**/*.jpg
|
||||
dist/**/*.jpeg
|
||||
dist/**/*.webp
|
||||
dist/**/*.avif
|
||||
dist/**/*.gif
|
||||
|
||||
# Archives
|
||||
*.7z
|
||||
*.dmg
|
||||
*.gz
|
||||
*.iso
|
||||
*.jar
|
||||
*.rar
|
||||
*.tar
|
||||
*.zip
|
||||
# IMPORTANT: Visual regression snapshots should be committed to version control
|
||||
# These are in: e2e/src/tests/visual/**/*-snapshots/
|
||||
# Git will track them because they are not in test-results/ or allure-results/
|
||||
|
||||
# Package manager locks (keep package-lock.json)
|
||||
yarn.lock
|
||||
pnpm-lock.yaml
|
||||
# Test analysis scripts output
|
||||
e2e/analyze-results.js
|
||||
test-framework/analyze-*.py
|
||||
test-framework/debug-*.py
|
||||
test-framework/verify-*.ts
|
||||
|
||||
# Sentry
|
||||
.sentryclirc
|
||||
*.sentryclirc
|
||||
# Test baseline images (keep visual regression snapshots)
|
||||
# Note: Visual regression snapshots in e2e/src/tests/visual/*-snapshots/ should be committed
|
||||
|
||||
# docs
|
||||
docs/
|
||||
# Performance audit results
|
||||
lighthouse-reports/
|
||||
performance-baseline.json
|
||||
|
||||
# Test data exports
|
||||
test-data-*.json
|
||||
test-results-*.json
|
||||
|
||||
# Additional E2E test artifacts
|
||||
e2e/blob-report/
|
||||
e2e/report/
|
||||
e2e/.auth/
|
||||
e2e/state/
|
||||
e2e/storage-state.json
|
||||
|
||||
# Test execution artifacts
|
||||
*.trace
|
||||
*.trace.zip
|
||||
trace.zip
|
||||
network-logs/
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 108 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB |
Reference in New Issue
Block a user