Playwright测试报告发送到Slack
解析 Playwright HTML 和 JSON 测试报告,并使用 Slack Web API 将结构化摘要发布到 Slack。从 playwright-report 目录读取测试结果,使用 @playwright/test 报告器 API 提取通过/失败/不稳定计数,并通过 chat.postMessage 发布带有测试套件分解的丰富 Block Kit 消息。
skillhub install @user_3c6cb52e/playwright-test-report-to-slack
README 文档
835 字Playwright测试报告发送到Slack
Parses Playwright HTML and JSON test reports and posts structured summaries to Slack using the Slack Web API. Reads test results from the playwright-report directory, extracts pass/fail/flaky counts using the @playwright/test reporter API, and posts rich Block Kit messages with test suite breakdowns via chat.postMessage.
Prerequisites
Node.js
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @playwright/cli@latest
- npm i playwright
Requirements and caveats from upstream:
Basic usage or getting-started notes:
- bash
- Optionally install skills for richer agent integration:
- playwright-cli install --skills
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/microsoft/playwright/HEAD/README.md
Documentation
- https://playwright.dev/docs/test-reporters
同分类其他技能
查看全部 ›【全栈能力】编程大神.Skill:面向复杂真实项目的高阶全栈编程助手。不止生成代码,而是从一句目标接手陌生代码库,拆解需求、补齐实现、追
142 1217.9万 编程专家Pro.Skill编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、
46 634.2万 编程专家.Skill编程专家.Skill P8级编程助手,完整闭环式 全栈编程专家:Java/Php网站/小程序/软件项目、API设计、Bug诊断、代码生成
394 620.4万 dev-expert编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生
34 545.3万 dev-expert-pro编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、
0 110.2万 编程专家 Pro编程专家 Pro 是一款本地知识与工作流技能包,集成工程专题、鸿蒙 ArkTS/ArkUI 及微信小程序/小游戏开发资料。按任务读取对应
1 103.7万