trypost/tests/Feature/Automation
Paulo Castellano 31b6544c57 Cover node-run error paths and align webhook failure handling
Wrap the webhook HTTP send in a try/catch so a connection error returns
a clean failed result (reason: request_failed) instead of bubbling up as
a job failure — matching the HTTP request node.

Add tests for the gaps in node-run coverage:
- HTTP request: basic auth, PUT/PATCH/DELETE, non-2xx responses,
  connection exceptions, and an items_path that doesn't resolve to a list.
- Webhook: every HTTP method, header expression resolution, and the new
  connection-failure path.
- Fetch RSS: non-2xx feed responses, malformed XML, items without a
  publish date (skipped), and the link fallback when an item has no guid.
- Delay: unknown unit throws.
- Publish: dry runs don't publish or queue.
2026-06-13 09:56:18 -03:00
..
Automation Add Workflow/Invocations/Metrics/Settings tabs to automations 2026-06-12 19:19:46 -03:00
Command Enhance automation functionality: Introduce workflow variables and improve node validation 2026-06-11 15:47:29 -03:00
Node Cover node-run error paths and align webhook failure handling 2026-06-13 09:56:18 -03:00
Run Add expression autocomplete, side-panel editor, and richer HTTP fetch 2026-06-12 11:31:58 -03:00
Tree Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
Trigger Dispatch post-trigger automations asynchronously via job 2026-06-10 17:46:46 -03:00
AutomationCrudTest.php Add Workflow/Invocations/Metrics/Settings tabs to automations 2026-06-12 19:19:46 -03:00
AutomationEncryptionTest.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
AutomationModelTest.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
DetailTabsTest.php Add Workflow/Invocations/Metrics/Settings tabs to automations 2026-06-12 19:19:46 -03:00
DryRunTest.php Add Workflow/Invocations/Metrics/Settings tabs to automations 2026-06-12 19:19:46 -03:00
GenerateNodeValidationTest.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
PauseHaltsRunsTest.php Harden automations module: full-post generation, reliable runs, editor UX 2026-06-10 20:45:01 -03:00
VariablesTest.php Enhance automation functionality: Introduce workflow variables and improve node validation 2026-06-11 15:47:29 -03:00