View Reports Index banner
terryso terryso

View Reports Index

Development community

Description

# 查看测试报告索引 查看所有环境的测试报告索引页面,支持环境切换和报告浏览。 ## 功能特性 - 📊 **自动扫描**: 自动发现所有环境的测试报告 - 🎯 **环境切换**: 支持dev/test/prod环境tab切换 - 📈 **统计信息**: 显示各环境报告统计数据 - 🔍 **报告详情**: 显示报告类型、大小、生成时间等信息 - 📱 **响应式设计**: 支持桌面和移动设备访问 ## 执行过程 1. **刷新报告索引**: 扫描所有环境目录,生成最新的报告列表 2. **启动本地服务**: 启动HTTP服务器托管报告索引页面 3. **打开浏览器**: 自动在浏览器中打开报告索引页面 ## 参数 无需参数,自动扫描所有环境的报告。 ## 使用说明 执行此命令会: 1. 扫描 `reports/dev/`、`reports/test/`、`reports/prod/` 目录 2. 生成报告索引数据文件 `reports/index.json` 3. 启动本地HTTP服务器(端口8080) 4. 在浏览器中打开报告索引页面 ## 报告类型 -

Installation

Installs to ~/.claude/commands/terryso-claude-code-playwright-mcp-test-view-reports-index.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/terryso/claude-code-playwright-mcp-test/HEAD/.claude/commands/view-reports-index.md -o ~/.claude/commands/terryso-claude-code-playwright-mcp-test-view-reports-index.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository