Releases: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests
v1
Update visual-regression.js
v1.3.0
🆕 New Features
🏙️ 3D Test City Visualization
- Interactive 3D representation of your entire test suite
- Visual metaphors: building height = complexity, color = status
- Real-time navigation with auto-rotate and manual controls
- Flaky tests shown as glowing buildings
- Districts represent test suites for better organization
🖼️ Visual Regression Testing
- Automatic screenshot comparison between PR and main branches
- Pixel-level difference detection with ImageMagick
- Smart categorization: identical, negligible (<0.1%), minor (0.1-1%), major (>1%)
- Side-by-side comparison viewer with zoom capability
- Handles dynamic content with configurable fuzz factor
⚡ Quick Actions Panel
- Context-aware command suggestions based on test failures
- One-click copy for local debugging commands
- GitHub CLI integration for PR management
- Smart code snippets for common fixes
- Categorized actions: testing, debugging, linting, performance
📈 Test History Tracking
- Tracks test performance over multiple runs
- Identifies flaky tests with confidence scores
- Performance trend analysis
- Automated insights on improving/degrading tests
- Rolling history with configurable retention
🎯 Smart Test Failure Analysis
- Pattern recognition in test failures
- Categorized issues: timeouts, selectors, network, assertions
- Actionable fix suggestions for each pattern
- Severity-based prioritization
- Markdown reports with examples
v1.2.6
Update lint.js
v1.2.5
Performance & Intelligence Update
⚡ Performance metrics collection and visualization
🔍 Smart test failure analysis with pattern detection
💡 Quick-fix suggestions for code quality issues
🎯 Actionable insights in PR comments
🚀 Automatic retry logic for flaky tests
💾 Dependency caching for faster runs
📈 Regression detection between branches
🏷️ Better error messages and progress indicators
v1.2.4
🐛 Bug Fixes
Fixed script execution failures - All action scripts now correctly reference the action's directory path instead of looking in the user's repository
Fixed missing module errors - Resolved "Could not load marked module" and similar errors by setting proper NODE_PATH for all script executions
Fixed dashboard generation - The web report now generates successfully with all required dependencies
Fixed artifact upload failures - Resolved "artifacts/web-report: Cannot open: No such file or directory" errors
✨ New Features
Zero Configuration Support - The action now provides default configurations if none exist:
Automatically copies default playwright.config.js if missing
Provides default .eslintrc.json configuration
Includes default .prettierrc.json for formatting
Automatic Dependency Installation - Required action dependencies are now installed automatically:
marked@15.0.12 - For dashboard generation
@octokit/core@^5.0.0 - For PR comments
@mermaid-js/mermaid-cli@10.6.1 - For flowchart generation
🔧 Technical Changes
Added NODE_PATH environment variable to all script executions to ensure modules are found
Updated all script references to use ${{ github.action_path }}
Added automatic puppeteer.json creation for mermaid-cli compatibility
Improved error handling with continue-on-error for non-critical steps
v1.2.1
Optimize generate-webpage.js
v1.2.0
Modular Release
Pick-and-Run
mode: flag (full · test-only · lint-only · dashboard-only · comment-only) lets you run exactly the stage you need.
Main-vs-PR Diff
enable-visual-comparison: 'true' reruns Playwright on main, adds side-by-side tables, screenshots, and a regression flag.
Smart Metrics
Robust jq parser fixes the old “0 / 30 tests” bug and works with any Playwright JSON format.
Better Checklist & Flowchart
Flow diagram waits for metrics, checklist now auto-ticks Playwright / ESLint / Flowchart boxes.
Pages Optional
Skip deploy with enable-github-pages: 'false'; artifacts are still uploaded.
README.md updated and examples provided
v1.2
modular test
v1.0.6
uploaded the site with actions/upload-artifact@v4, which produces a ZIP archive.
Pages expects a tar.gz created by actions/upload-pages-artifact@v3 (or an equivalent manual tar)
version 1.0.5
Key Fixes Applied
In action.yml:
Script Copying: Copy action scripts to a local .gui-test-review-action/ directory in the user's workspace
Dependency Installation: Create a minimal package.json and install action-specific dependencies (@octokit/core, marked) in the action directory
Dynamic Script Location: Check multiple paths to find scripts (local copy, action path, or user's scripts)
NODE_PATH Setting: For scripts that need modules, set NODE_PATH to include the action's node_modules
In Scripts (generate-webpage.js and summary-comment.js):
Dynamic Module Loading: Try multiple paths to load required modules:
Local node_modules (user's project)
Action's node_modules (.gui-test-review-action/node_modules/)
Parent directory node_modules
Error Handling: Provide clear error messages if modules can't be loaded
Graceful Degradation: Continue execution even if some optional components fail