fix(ui): show workflow validation errors on the failing step and link to it

This commit is contained in:
sam committed 2026-10-18 23:49:09 +11:00
1 parent 95f5605284
commit 77d65a1399
3 files changed
+29 -32

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ test("invalid workflow structures identify the field that prevents saving", () =
for (const [source, message] of [
["steps:\n - type: a\n", /id/],
["id: x\n", /steps/],
["id: x\nsteps:\n - type: a\n - settings: {}\n", /step 2/],
["id: x\nsteps:\n - type: a\n - settings: {}\n", /type/],
["- a\n- b\n", /mapping/],
['"just a string"\n', /mapping/],
["id: x\nsteps: 3\n", /steps/],