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/
|
out/
|
||||||
.swc/
|
.swc/
|
||||||
|
|
||||||
|
# Next.js specific
|
||||||
|
.next/types/
|
||||||
|
.next/server/
|
||||||
|
.next/build-manifest.json
|
||||||
|
.next/react-loadable-manifest.json
|
||||||
|
|
||||||
# Production
|
# Production
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
@@ -68,19 +74,75 @@ venv.bak/
|
|||||||
virtualenv/
|
virtualenv/
|
||||||
virtualenvs/
|
virtualenvs/
|
||||||
|
|
||||||
|
# Python E2E Tests
|
||||||
|
e2e-tests/.pytest_cache/
|
||||||
|
e2e-tests/__pycache__/
|
||||||
|
e2e-tests/.venv/
|
||||||
|
e2e-tests/venv/
|
||||||
|
e2e-tests/*.egg-info/
|
||||||
|
|
||||||
# Playwright
|
# Playwright
|
||||||
test-results/
|
test-results/
|
||||||
!test-results/.gitkeep
|
|
||||||
!test-results/performance/.gitkeep
|
|
||||||
!test-results/accessibility/.gitkeep
|
|
||||||
playwright-report/
|
playwright-report/
|
||||||
playwright/.cache/
|
playwright/.cache/
|
||||||
*.traces/
|
*.traces/
|
||||||
playwright-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-results/
|
||||||
allure-report/
|
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
|
# Testing
|
||||||
coverage/
|
coverage/
|
||||||
@@ -183,9 +245,12 @@ dist-ssr/
|
|||||||
# Three.js
|
# Three.js
|
||||||
*.three.json
|
*.three.json
|
||||||
|
|
||||||
# Image optimization
|
# Image optimization - only ignore in specific directories
|
||||||
*.avif
|
# Keep public images and visual regression snapshots
|
||||||
*.webp
|
# test-results/**/*.avif
|
||||||
|
# test-results/**/*.webp
|
||||||
|
# test-results/**/*.png
|
||||||
|
# test-results/**/*.jpg
|
||||||
|
|
||||||
# Temporary files
|
# Temporary files
|
||||||
*.tmp
|
*.tmp
|
||||||
@@ -202,36 +267,63 @@ test-screenshot.png
|
|||||||
hero-check.png
|
hero-check.png
|
||||||
playwright-test-not-portal.js
|
playwright-test-not-portal.js
|
||||||
|
|
||||||
# CI/CD
|
# Test screenshots and images - ignore all test output
|
||||||
.gitlab-ci-local/
|
# Allure attachments
|
||||||
.github/workflows/*.local.yml
|
e2e/allure-results/**/*.png
|
||||||
.woodpecker/
|
e2e/allure-results/**/*.jpg
|
||||||
|
e2e/allure-results/**/*.webp
|
||||||
|
test-framework/allure-results/**/*.png
|
||||||
|
test-framework/allure-results/**/*.jpg
|
||||||
|
|
||||||
# Documentation
|
# Playwright test results (all media files)
|
||||||
docs/plans/*.md.bak
|
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
|
# Build output images
|
||||||
*.db
|
dist/**/*.png
|
||||||
*.sqlite
|
dist/**/*.jpg
|
||||||
*.sqlite3
|
dist/**/*.jpeg
|
||||||
|
dist/**/*.webp
|
||||||
|
dist/**/*.avif
|
||||||
|
dist/**/*.gif
|
||||||
|
|
||||||
# Archives
|
# IMPORTANT: Visual regression snapshots should be committed to version control
|
||||||
*.7z
|
# These are in: e2e/src/tests/visual/**/*-snapshots/
|
||||||
*.dmg
|
# Git will track them because they are not in test-results/ or allure-results/
|
||||||
*.gz
|
|
||||||
*.iso
|
|
||||||
*.jar
|
|
||||||
*.rar
|
|
||||||
*.tar
|
|
||||||
*.zip
|
|
||||||
|
|
||||||
# Package manager locks (keep package-lock.json)
|
# Test analysis scripts output
|
||||||
yarn.lock
|
e2e/analyze-results.js
|
||||||
pnpm-lock.yaml
|
test-framework/analyze-*.py
|
||||||
|
test-framework/debug-*.py
|
||||||
|
test-framework/verify-*.ts
|
||||||
|
|
||||||
# Sentry
|
# Test baseline images (keep visual regression snapshots)
|
||||||
.sentryclirc
|
# Note: Visual regression snapshots in e2e/src/tests/visual/*-snapshots/ should be committed
|
||||||
*.sentryclirc
|
|
||||||
|
|
||||||
# docs
|
# Performance audit results
|
||||||
docs/
|
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