m1heng avatar

Feishu E2e Test

This is a specialized framework for locally testing the clawd-feishu plugin integration before deployment. It uses agent-browser CLI to drive the Feishu web UI and verify message flows, bot responses, and tool calls like document reading. The source is notably detailed about gotchas: Chinese input doesn't work, you have to type character by character with the press command, and you need to restart the OpenClaw gateway after every code change or your modifications won't take effect. It's clearly written by someone who hit all these issues the hard way. If you're building or debugging Feishu bot integrations with OpenClaw, this will save you from rediscovering these same pitfalls.

skills.sh installs
122
GitHub stars
4.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add m1heng/clawdbot-feishu --skill feishu-e2e-test --agent claude-code

Installs into .claude/skills of the current project.

Files

Feishu E2E Test Framework

Local development testing using agent-browser CLI to interact with Feishu web app.

Prerequisites

  • Feishu web logged in at https://feishu.cn/next/messenger
  • agent-browser CLI available
  • OpenClaw locally installed
  • Feishu bot appid/secret given in chat or in .env
  • User given bot name which will display in Feishu web UI

Important Notes

Every time you modify extension code, you MUST restart OpenClaw Gateway for changes to take effect.

# Restart gateway (required after code changes)
openclaw gateway restart

# Check if gateway is running
ps aux | grep openclaw

# View gateway logs
tail -f ~/.openclaw/logs/gateway.log

agent-browser Usage

Always use --headed mode so user can see the browser and help with login:

agent-browser --headed --session feishu-test open "https://feishu.cn/next/messenger"

Feishu Web UI Tips

Feishu web has complex UI that makes direct clicking unreliable. Use these strategies:

1. Use Search (Cmd+K) Instead of Clicking

Clicking on chat list items often misses or selects wrong item. Use global search:

Sponsors

Details

Repository
github.com/m1heng/clawdbot-feishu
Categories
Testing & QA, Debugging
First seen
Jun 3, 2026

More from m1heng/clawdbot-feishu

All 8
1cin12211 avatarjest-testing-expertcin12211/orca-qExpert in Jest testing framework, advanced mocking strategies, snapshot testing, async patterns, TypeScript integration, and performance optimization116skills.sh installs
2dart-lang avatardart-add-unit-testdart-lang/skillsWrite and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correc20.4Kskills.sh installs
3bmad-code-org avatarbmad-qa-generate-e2e-testsbmad-code-org/bmad-methodGenerate end to end automated tests for existing features. Use when the user says "create qa automated tests for [feature]"14.6Kskills.sh installs
4affaan-m avatare2e-testingaffaan-m/everything-claude-codee2e testing5.9Kskills.sh installs
5alinaqi avatarplaywright-testingalinaqi/claude-bootstrapplaywright testing2.5Kskills.sh installs
6manutej avatarplaywright-visual-testingmanutej/luxor-claude-marketplaceBrowser automation, visual testing, and screenshot validation using Playwright MCP server for accelerated web development. Master visual regression testing, aut1.4Kskills.sh installs