Agent Skill

Playwright测试报告发送到Slack

解析 Playwright HTML 和 JSON 测试报告,并使用 Slack Web API 将结构化摘要发布到 Slack。从 playwright-report 目录读取测试结果,使用 @playwright/test 报告器 API 提取通过/失败/不稳定计数,并通过 chat.postMessage 发布带有测试套件分解的丰富 Block Kit 消息。

开发编程·҉Breeze🌔·来自 skill_hub·skillhub.cn ↗
skillhub install @user_3c6cb52e/playwright-test-report-to-slack
2.3万 综合热度·835 字文档·源站更新 2026-10-24

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

同分类其他技能

查看全部 ›