Agent Skillsnodetool-ai/nodetool › e2e-testing

e2e-testing

GitHub

基于 Playwright 编写、修复和诊断 E2E 测试,复用现有套件与 fixtures,通过角色定位元素并断言可见行为。针对失败情况利用 trace 和截图进行调试,确保测试独立且准确反映用户可见功能。

.agents/skills/yts806379-everything-claude-code-e2e-testing/SKILL.md nodetool-ai/nodetool

Trigger Scenarios

需要编写或修复端到端测试 诊断 E2E 测试失败原因

Install

npx skills add nodetool-ai/nodetool --skill e2e-testing -g -y
More Options

Non-standard path

npx skills add https://github.com/nodetool-ai/nodetool/tree/main/.agents/skills/yts806379-everything-claude-code-e2e-testing -g -y

Use without installing

npx skills use nodetool-ai/nodetool@e2e-testing

指定 Agent (Claude Code)

npx skills add nodetool-ai/nodetool --skill e2e-testing -a claude-code -g -y

安装 repo 全部 skill

npx skills add nodetool-ai/nodetool --all -g -y

预览 repo 内 skill

npx skills add nodetool-ai/nodetool --list

SKILL.md

Frontmatter
{
    "name": "e2e-testing",
    "origin": "ECC",
    "description": "Write, repair, or diagnose Playwright E2E tests for NodeTool web and workflow harnesses using existing suites and fixtures."
}

E2E testing

Build or repair a Playwright test that detects the requested user-visible behavior. Use web/TESTING.md and the existing suite's fixtures, page objects, and configuration. Do not replace them with a generic scaffold. Electron main-process tests use Jest under electron/src/__tests__/, as described in Electron instructions.

Choose the suite

Inspect web/package.json and the relevant Playwright config for the exact command. Use the graph runner or debug harness for real-backend workflow scenarios. Read its entry in the harness reference before first use. Build backend packages and install the required Playwright browser as described in the testing guide before running web E2E.

Write or diagnose the test

Reuse the nearest scenario. Select controls by role and accessible name when available. Assert the specific visible result with retrying Playwright assertions. Keep tests independent and reset fixtures through the suite's existing mechanism.

Register a network wait before triggering the action that produces the request. Wait for a specific response or visible state, not arbitrary sleeps or global network idleness. Use page objects only where they simplify repeated interactions.

For a reported failure, reproduce it before changing the test or application. Inspect its trace, screenshot, console, and request evidence. Use bounded repeat runs when diagnosing an intermittent race. A retry reaching green does not prove the race is fixed. Do not hide failures with skip, fixme, or extra retries.

Verify and report

Run the affected scenario and confirm the assertion detects the intended failure and passes with the correction. Use the suite's configured trace, screenshot, and video capture rather than introducing a separate recording mechanism.

Complete mandatory post-change verification for code changes. Report the tested scenario, actual command result, and relevant failure artifacts. Do not run unrelated browser suites without a dependency or unresolved concern that warrants them.

Version History

  • 9b979bc Current 2026-09-22 23:26

Same Skill Collection

.agents/skills/ask-matt/SKILL.md
.agents/skills/ast-grep-outline/SKILL.md
.agents/skills/ast-grep/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/codebase-design/SKILL.md
.agents/skills/companion-clis/SKILL.md
.agents/skills/diagnosing-bugs/SKILL.md
.agents/skills/domain-modeling/SKILL.md
.agents/skills/flash/SKILL.md
.agents/skills/grill-with-docs/SKILL.md
.agents/skills/implement/SKILL.md
.agents/skills/improve-codebase-architecture/SKILL.md
.agents/skills/prototype/SKILL.md
.agents/skills/research/SKILL.md
.agents/skills/resolving-merge-conflicts/SKILL.md
.agents/skills/runpodctl/SKILL.md
.agents/skills/setup-matt-pocock-skills/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/to-spec/SKILL.md
.agents/skills/to-tickets/SKILL.md
.agents/skills/triage/SKILL.md
.agents/skills/unslop/SKILL.md
.agents/skills/wayfinder/SKILL.md
.agents/skills/wizard/SKILL.md
.claude/skills/ask-matt/SKILL.md
.claude/skills/ast-grep-outline/SKILL.md
.claude/skills/ast-grep/SKILL.md
.claude/skills/codebase-design/SKILL.md
.claude/skills/companion-clis/SKILL.md
.claude/skills/diagnosing-bugs/SKILL.md
.claude/skills/domain-modeling/SKILL.md
.claude/skills/flash/SKILL.md
.claude/skills/implement/SKILL.md
.claude/skills/improve-codebase-architecture/SKILL.md
.claude/skills/nodetool-api-reference/SKILL.md
.claude/skills/nodetool-browser-agent/SKILL.md
.claude/skills/nodetool-chat-cli/SKILL.md
.claude/skills/nodetool-custom-node-developer/SKILL.md
.claude/skills/nodetool-deployment/SKILL.md
.claude/skills/nodetool-model-provider-config/SKILL.md
.claude/skills/nodetool-rag-indexing/SKILL.md
.claude/skills/nodetool-troubleshooter/SKILL.md
.claude/skills/nodetool-workflow-builder/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/research/SKILL.md
.claude/skills/resolving-merge-conflicts/SKILL.md
.claude/skills/setup-matt-pocock-skills/SKILL.md
.claude/skills/tdd/SKILL.md
.claude/skills/to-spec/SKILL.md

Metadata

Files
0
Version
9b979bc
Hash
42feb839
Indexed
2026-09-22 23:26

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 07:12
浙ICP备14020137号-1