fix(ui): show workflow validation errors on the failing step and link to it
This commit is contained in:
3 files changed
+29
-32
No files matched your search
@@ -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/],
|
||||
|
||||
Reference in new issue
Block a user