mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 13:32:23 +00:00
* test(e2e): skill execution flow (core RPC + Skills UI) - Add skill-execution-flow.spec: core.ping, skills start/list_tools/call_tool/stop via shared RPC helper, seeded QuickJS echo skill (same tree as Rust json_rpc_e2e). - Add core-rpc helpers: WebView invoke on tauri-driver, Node fetch + port probe on Appium Mac2 (no WKWebView execute). - Extend navigateViaHash with Mac2 sidebar label fallbacks for /skills, /home, etc. - Wire yarn test:e2e:skill-execution and e2e-run-all-flows. Refs: #68 Made-with: Cursor * fix(e2e): address CodeRabbit review for skill execution PR - core-rpc-node: honor OPENHUMAN_CORE_HOST and OPENHUMAN_CORE_PORT before port scan - shared-flows: Mac2 navigateViaHash for /settings/billing; throw on unmapped hash; navigateToBilling fallback without WebView execute on Mac2 - skill-e2e-runtime: javascript manifest + removeSeededEchoSkill teardown - skill-execution-flow: teardown seeded skill; document RPC shapes vs json_rpc_e2e; skip placeholder for future agent chat tool_calls Made-with: Cursor
33 lines
1.3 KiB
Bash
Executable File
33 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Run all E2E WDIO specs sequentially (Appium restarted per spec).
|
|
# Requires a prior E2E app build: yarn test:e2e:build
|
|
#
|
|
set -euo pipefail
|
|
|
|
APP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$APP_DIR"
|
|
|
|
run() {
|
|
"$APP_DIR/scripts/e2e-run-spec.sh" "$1" "$2"
|
|
}
|
|
|
|
run "test/e2e/specs/login-flow.spec.ts" "login"
|
|
run "test/e2e/specs/auth-access-control.spec.ts" "auth"
|
|
run "test/e2e/specs/telegram-flow.spec.ts" "telegram"
|
|
run "test/e2e/specs/gmail-flow.spec.ts" "gmail"
|
|
run "test/e2e/specs/notion-flow.spec.ts" "notion"
|
|
run "test/e2e/specs/card-payment-flow.spec.ts" "card-payment"
|
|
run "test/e2e/specs/crypto-payment-flow.spec.ts" "crypto-payment"
|
|
run "test/e2e/specs/conversations-web-channel-flow.spec.ts" "conversations"
|
|
run "test/e2e/specs/local-model-runtime.spec.ts" "local-model"
|
|
run "test/e2e/specs/screen-intelligence.spec.ts" "screen-intelligence"
|
|
OPENHUMAN_SERVICE_MOCK=1 run "test/e2e/specs/service-connectivity-flow.spec.ts" "service-connectivity"
|
|
run "test/e2e/specs/skills-registry.spec.ts" "skills-registry"
|
|
run "test/e2e/specs/skill-execution-flow.spec.ts" "skill-execution"
|
|
run "test/e2e/specs/navigation.spec.ts" "navigation"
|
|
run "test/e2e/specs/smoke.spec.ts" "smoke"
|
|
run "test/e2e/specs/tauri-commands.spec.ts" "tauri-commands"
|
|
|
|
echo "All E2E flows completed."
|