Files
dify/cli/test
gigglewang0417 df041bc11f fix(cli/e2e): remove LLM nodes from fixture DSLs and fix test assertions
Fixture DSL changes (5 files):
- Remove tongyi/LLM nodes from echo-chat, echo-workflow, file-chat,
  file-upload, ws2-workflow fixtures
- Replace with Answer node (chat apps) or direct Start→End (workflow apps)
- Drop langgenius/tongyi marketplace dependency from all 5 fixtures
- Workflow apps no longer require any model plugin to be installed

Root cause: The LLM nodes in fixtures depended on the langgenius/tongyi
plugin being installed and credentials configured in the target Dify
instance. This blocked CI runs on environments without the plugin.

Test assertion fixes (4 files):
- run-app-basic.e2e.ts: update workflow echo assertion (echo: prefix
  no longer produced without LLM; output is now raw input value)
- run-app-conversation.e2e.ts: widen error regex to include 422/validation
  for invalid conversation_id (server returns 422, not 404)
- describe-app.e2e.ts: fix NONEXISTENT_ID test — CLI rejects non-UUID
  app IDs client-side via isValidUuid() with exit 2 (usage_invalid_flag),
  not exit 1; update title, exitCode assertion and error pattern
- agent-skill-workflow.e2e.ts: same fix for describe app non-UUID case
2026-06-15 17:03:07 +08:00
..
2026-05-26 01:12:36 +00:00
2026-05-26 01:12:36 +00:00