n8n-editor-ui 1.75.1 → 1.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BhRv3Xk0.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Bk0ZjgAz.js} +1 -1
  2. package/dist/assets/{AuthView-vL9vjCvD.js → AuthView-CQW1x21E.js} +2 -2
  3. package/dist/assets/{CanvasChat-B69VJDcA.js → CanvasChat-DuJwpZew.js} +19 -18
  4. package/dist/assets/{CanvasControls-DhhKk7yf.js → CanvasControls-Br7x0c2w.js} +1 -1
  5. package/dist/assets/{ChangePasswordView-D8y2rYLl.js → ChangePasswordView-Ck-5oU_m.js} +3 -3
  6. package/dist/assets/CollectionParameter-DRNykodC.js +4 -0
  7. package/dist/assets/{ConcurrentExecutionsHeader-Dv0s5rxY.js → ConcurrentExecutionsHeader-Dfi130Qe.js} +2 -2
  8. package/dist/assets/{CredentialsView-Dp0fVbpZ.js → CredentialsView-D44diL3J.js} +4 -4
  9. package/dist/assets/{ErrorView-a6qq4rkt.js → ErrorView-ub9nQRXV.js} +1 -1
  10. package/dist/assets/{ExecutionsView-CpILe_1o.js → ExecutionsView-DsAXYzOp.js} +17 -5
  11. package/dist/assets/{FileSaver.min-C1QTiJmy.js → FileSaver.min-nbqT44De.js} +1 -1
  12. package/dist/assets/{FixedCollectionParameter-kphzKyyy.js → FixedCollectionParameter-DwiBHQQW.js} +1 -1
  13. package/dist/assets/{ForgotMyPasswordView-DzUekqel.js → ForgotMyPasswordView-CH0wwots.js} +3 -3
  14. package/dist/assets/{Logo-B-pFOUGc.js → Logo-CIYEwVrA.js} +1 -1
  15. package/dist/assets/{MainHeader-C6S60KwG.js → MainHeader-CN6RTCuC.js} +15 -105
  16. package/dist/assets/{MainHeader-BIKp2Ncp.css → MainHeader-DC-g9NGP.css} +12 -11
  17. package/dist/assets/{MainSidebar-CJ-OKhK-.js → MainSidebar-ih4BlE0n.js} +4 -81
  18. package/dist/assets/{NodeCreation-CNcty5fl.js → NodeCreation-DQUKwvhM.js} +4 -4
  19. package/dist/assets/{NodeCreator-DAW2sX8p.js → NodeCreator-B1R35yuN.js} +5 -5
  20. package/dist/assets/{NodeViewSwitcher-mtWBt9cw.js → NodeViewSwitcher-TsFkW80s.js} +89 -48
  21. package/dist/assets/{NodeViewSwitcher-CB1zkjni.css → NodeViewSwitcher-aJwrKS8o.css} +23 -23
  22. package/dist/assets/{ProjectCardBadge-DcWhzEr6.js → ProjectCardBadge-BcCHZFJ2.js} +2 -15
  23. package/dist/assets/{ProjectHeader-D2FCquSr.js → ProjectHeader-CSOMgkVs.js} +1 -1
  24. package/dist/assets/{ProjectSettings-CDg4IQw7.js → ProjectSettings-DtqNq5WU.js} +2 -2
  25. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-BPBen7Li.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CZIKiOsY.js} +1 -1
  26. package/dist/assets/{ResourcesListLayout-DWASP6Vp.js → ResourcesListLayout-CvkkebAN.js} +21 -11
  27. package/dist/assets/{ResourcesListLayout-CJC-YvjD.css → ResourcesListLayout-d7mMNhOL.css} +6 -6
  28. package/dist/assets/{RunDataJson-CFNeORgR.js → RunDataJson-DA1LNZGU.js} +15 -15
  29. package/dist/assets/{RunDataJson-BXTLuo7i.css → RunDataJson-Txw0lqay.css} +1 -0
  30. package/dist/assets/{RunDataJsonActions-COFXneND.js → RunDataJsonActions-DZzYHsR7.js} +2 -2
  31. package/dist/assets/{RunDataSearch-D9UDSGjR.js → RunDataSearch-D6-6kSmI.js} +1 -1
  32. package/dist/assets/{RunDataTable-C3flt0dy.js → RunDataTable-bDBgkWN3.js} +2 -2
  33. package/dist/assets/{SamlOnboarding-CWM-8qu7.js → SamlOnboarding-ULq0l8s6.js} +3 -3
  34. package/dist/assets/{SettingsApiView-Bl6jvpWQ.js → SettingsApiView-CVRk9yEi.js} +1 -1
  35. package/dist/assets/{SettingsCommunityNodesView-5Dl4EOzd.js → SettingsCommunityNodesView-B6We65ta.js} +4 -4
  36. package/dist/assets/{SettingsExternalSecrets-DljwCjwW.js → SettingsExternalSecrets-wrWe6ob7.js} +1 -1
  37. package/dist/assets/{SettingsLdapView-5kgLPxB7.js → SettingsLdapView-CeKm7XML.js} +1 -1
  38. package/dist/assets/{SettingsLogStreamingView-CsB-E4Kv.js → SettingsLogStreamingView-DxAoQ7dF.js} +1 -1
  39. package/dist/assets/{SettingsPersonalView-B0vJNuPt.js → SettingsPersonalView-DFcUFc08.js} +1 -1
  40. package/dist/assets/{SettingsSourceControl-B7SGpzBu.js → SettingsSourceControl-D9u9tDhF.js} +1 -1
  41. package/dist/assets/{SettingsSso-pDsu2lsS.js → SettingsSso-gUSJtFP0.js} +1 -1
  42. package/dist/assets/{SettingsUsageAndPlan-B83lunzH.js → SettingsUsageAndPlan-C4rSaxsT.js} +1 -1
  43. package/dist/assets/{SettingsUsersView-DPM5R_9p.js → SettingsUsersView-DSaFQg1K.js} +1 -1
  44. package/dist/assets/{SettingsView-NF_8zzqr.js → SettingsView-BcBZpdTs.js} +1 -1
  45. package/dist/assets/{SetupView-Dzehb2sC.js → SetupView-BnZ-D6Jy.js} +3 -3
  46. package/dist/assets/{SetupWorkflowCredentialsButton-Bhx7c9Lu.js → SetupWorkflowCredentialsButton-B3DfAGgF.js} +1 -1
  47. package/dist/assets/{SetupWorkflowFromTemplateView-DaP6_l4S.js → SetupWorkflowFromTemplateView-DVLoF-kN.js} +3 -3
  48. package/dist/assets/{SigninView-BLyXzN0c.js → SigninView-BI4UTqFm.js} +3 -3
  49. package/dist/assets/{SignoutView-BsaJctbQ.js → SignoutView-4KEfr3ze.js} +1 -1
  50. package/dist/assets/{SignupView-m53hHk3y.js → SignupView-BdxSQxbe.js} +3 -3
  51. package/dist/assets/{TemplateDetails-CWR4kXyf.js → TemplateDetails-BU5E9lAh.js} +1 -1
  52. package/dist/assets/{TemplateList-DLQxEmgt.js → TemplateList-CSyTesvr.js} +1 -1
  53. package/dist/assets/{TemplatesCollectionView-CobxDh9v.js → TemplatesCollectionView-aqqEP8td.js} +5 -5
  54. package/dist/assets/{TemplatesSearchView-CDW7EH1p.js → TemplatesSearchView-BXQw_aAZ.js} +3 -3
  55. package/dist/assets/{TemplatesView-DJCodjB-.js → TemplatesView-BbVjMkgy.js} +1 -1
  56. package/dist/assets/{TemplatesWorkflowView-DOlLEzEa.js → TemplatesWorkflowView-Cao3RpEd.js} +5 -5
  57. package/dist/assets/{TestDefinitionEditView-Cuphh86f.js → TestDefinitionEditView-CgW-4tTx.js} +785 -547
  58. package/dist/assets/{TestDefinitionEditView-FI1GVbhl.css → TestDefinitionEditView-d7yfvp9P.css} +601 -238
  59. package/dist/assets/{TestDefinitionListView-Dgq9dXJL.js → TestDefinitionListView-D3eg62pM.js} +93 -68
  60. package/dist/assets/{TestDefinitionRootView-DU-JMBSH.js → TestDefinitionRootView-DJdsaL4M.js} +1 -1
  61. package/dist/assets/VariablesView-2TmNYpas.js +509 -0
  62. package/dist/assets/{VariablesView-D4pRzSuY.css → VariablesView-CIfrpJdg.css} +21 -54
  63. package/dist/assets/{WorkerView-CbqToUTB.js → WorkerView-C3LhhFeZ.js} +5 -5
  64. package/dist/assets/{WorkflowActivator-BaM6Tydw.js → WorkflowActivator-DiOQiQK2.js} +2 -2
  65. package/dist/assets/{WorkflowExecutionsInfoAccordion-6kKOPXK7.js → WorkflowExecutionsInfoAccordion-BmMiVSHQ.js} +1 -1
  66. package/dist/assets/{WorkflowExecutionsLandingPage-Cqq5FeZE.js → WorkflowExecutionsLandingPage-CxbfP9Kf.js} +2 -2
  67. package/dist/assets/{WorkflowExecutionsPreview-D1cSllVi.js → WorkflowExecutionsPreview-Cku-ZBQ3.js} +5 -5
  68. package/dist/assets/{WorkflowExecutionsView-BUHtKz5M.css → WorkflowExecutionsView-BjdRnQOE.css} +32 -32
  69. package/dist/assets/{WorkflowExecutionsView-qTFEWbeC.js → WorkflowExecutionsView-C0CnXLDW.js} +43 -29
  70. package/dist/assets/{WorkflowHistory-De54-QkN.js → WorkflowHistory-Bg6AIKXX.js} +3 -3
  71. package/dist/assets/{WorkflowOnboardingView-p6cAElRZ.js → WorkflowOnboardingView-LXWyp2is.js} +1 -1
  72. package/dist/assets/{WorkflowPreview-CKK96lnJ.js → WorkflowPreview-CsR9t5iY.js} +1 -1
  73. package/dist/assets/{WorkflowsView-D5G530AX.js → WorkflowsView-DQJAEKqk.js} +7 -7
  74. package/dist/assets/{easyAiWorkflowUtils-eykvtlKm.js → easyAiWorkflowUtils-D3El0FyE.js} +1 -1
  75. package/dist/assets/{index-DXFsvbJ_.css → index-DsHZ4yOE.css} +250 -31
  76. package/dist/assets/{index-CWcTt6jd.js → index-DvkbRfZN.js} +2542 -1943
  77. package/dist/assets/{polyfills-BN5TIqPj.js → polyfills-DNwgos9f.js} +650 -0
  78. package/dist/assets/{pushConnection.store-CTrZ_kO6.js → pushConnection.store-5KniMGTZ.js} +1 -1
  79. package/dist/assets/{templateActions-B712CNo3.js → templateActions-UGDN8R7F.js} +1 -1
  80. package/dist/assets/useBeforeUnload-BwgAu_Gm.js +43 -0
  81. package/dist/assets/{useBugReporting-BxDqzvRW.js → useBugReporting-Bqv4ngy7.js} +2 -1
  82. package/dist/assets/{useCanvasOperations-BSKKylIT.css → useCanvasOperations-Bjf582lB.css} +12 -12
  83. package/dist/assets/{useCanvasOperations-DTx4vbp_.js → useCanvasOperations-Cw1yjntX.js} +56 -25
  84. package/dist/assets/{useExecutionDebugging-DjYGtT4w.js → useExecutionDebugging-CTzUvS-m.js} +1 -1
  85. package/dist/assets/{useExecutionHelpers-DcyS3__o.js → useExecutionHelpers-ts_ANr0X.js} +1 -1
  86. package/dist/assets/{usePinnedData-C5NRkSpx.js → usePinnedData-CAHmwr13.js} +1 -1
  87. package/dist/assets/{usePushConnection-CGv57TM5.js → usePushConnection-BcVRW8VB.js} +3 -3
  88. package/dist/assets/{useRunWorkflow-C_vazd74.js → useRunWorkflow-DZq8rmMi.js} +7 -4
  89. package/dist/assets/{useWorkflowActivate-Dxi5zSSs.js → useWorkflowActivate-y3uHMZeh.js} +1 -1
  90. package/dist/index.html +3 -3
  91. package/package.json +1 -1
  92. package/dist/assets/CollectionParameter-djLQ8MUO.js +0 -4
  93. package/dist/assets/VariablesView-CaGkZXjl.js +0 -599
  94. package/dist/assets/useNodeViewVersionSwitcher-CXU1PYlK.js +0 -93
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, q as computed, w as withCtx, k as createTextVNode, F as Fragment, fA as _sfc_main$4, f as createCommentVNode, A as renderList, e as createBlock, b1 as resolveDynamicComponent, aR as _sfc_main$5, I as withModifiers, b0 as mergeProps, b as useRouter, hE as useAnnotationTagsStore, hM as useTestDefinitionStore, r as ref, a as useToast, o as onMounted, V as VIEWS } from "./index-CWcTt6jd.js";
1
+ import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, l as unref, n as normalizeClass, i as createVNode, g as useI18n, _ as _export_sfc, q as computed, w as withCtx, k as createTextVNode, F as Fragment, fx as _sfc_main$4, f as createCommentVNode, A as renderList, e as createBlock, a$ as resolveDynamicComponent, aP as _sfc_main$5, I as withModifiers, b as useRouter, hI as useAnnotationTagsStore, hU as useTestDefinitionStore, r as ref, a as useToast, o as onMounted, V as VIEWS, ae as MODAL_CONFIRM, ak as useMessage } from "./index-DvkbRfZN.js";
2
2
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3
3
  __name: "EmptyState",
4
4
  emits: ["create-test"],
@@ -55,48 +55,16 @@ const _hoisted_2 = { key: 1 };
55
55
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
56
56
  __name: "TestItem",
57
57
  props: {
58
- test: {}
58
+ test: {},
59
+ actions: {}
59
60
  },
60
- emits: ["run-test", "view-details", "edit-test", "delete-test", "cancel-test-run"],
61
- setup(__props, { emit: __emit }) {
61
+ emits: ["view-details"],
62
+ setup(__props) {
62
63
  const props = __props;
63
64
  const locale = useI18n();
64
- const emit = __emit;
65
- const actions2 = [
66
- {
67
- icon: "play",
68
- id: "run",
69
- event: () => emit("run-test", props.test.id),
70
- tooltip: locale.baseText("testDefinition.runTest"),
71
- show: () => props.test.execution.status !== "running"
72
- },
73
- {
74
- icon: "stop",
75
- id: "cancel",
76
- event: () => emit("cancel-test-run", props.test.id, props.test.execution.id),
77
- tooltip: locale.baseText("testDefinition.cancelTestRun"),
78
- show: () => props.test.execution.status === "running"
79
- },
80
- {
81
- icon: "list",
82
- id: "view",
83
- event: () => emit("view-details", props.test.id),
84
- tooltip: locale.baseText("testDefinition.viewDetails")
85
- },
86
- {
87
- icon: "pen",
88
- id: "edit",
89
- event: () => emit("edit-test", props.test.id),
90
- tooltip: locale.baseText("testDefinition.editTest")
91
- },
92
- {
93
- icon: "trash",
94
- id: "delete",
95
- event: () => emit("delete-test", props.test.id),
96
- tooltip: locale.baseText("testDefinition.deleteTest")
97
- }
98
- ];
99
- const visibleActions = computed(() => actions2.filter((action) => action.show?.() ?? true));
65
+ const visibleActions = computed(
66
+ () => props.actions.filter((action) => action.show?.(props.test.id) ?? true)
67
+ );
100
68
  return (_ctx, _cache) => {
101
69
  const _component_n8n_text = resolveComponent("n8n-text");
102
70
  const _component_n8n_spinner = resolveComponent("n8n-spinner");
@@ -154,22 +122,21 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
154
122
  return openBlock(), createBlock(_component_n8n_tooltip, {
155
123
  key: action.icon,
156
124
  placement: "top",
157
- "show-after": 1e3
125
+ "show-after": 1e3,
126
+ content: action.tooltip(_ctx.test.id)
158
127
  }, {
159
- content: withCtx(() => [
160
- createTextVNode(toDisplayString(action.tooltip), 1)
161
- ]),
162
128
  default: withCtx(() => [
163
129
  (openBlock(), createBlock(resolveDynamicComponent(unref(_sfc_main$5)), {
164
130
  icon: action.icon,
165
131
  "data-test-id": `${action.id}-test-button-${_ctx.test.id}`,
166
132
  type: "tertiary",
167
133
  size: "mini",
168
- onClick: withModifiers(action.event, ["stop"])
169
- }, null, 8, ["icon", "data-test-id", "onClick"]))
134
+ disabled: action?.disabled ? action.disabled(_ctx.test.id) : false,
135
+ onClick: withModifiers(($event) => action.event(_ctx.test.id), ["stop"])
136
+ }, null, 8, ["icon", "data-test-id", "disabled", "onClick"]))
170
137
  ]),
171
138
  _: 2
172
- }, 1024);
139
+ }, 1032, ["content"]);
173
140
  }), 128))
174
141
  ], 2)
175
142
  ], 10, _hoisted_1);
@@ -199,9 +166,10 @@ const TestItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssM
199
166
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
200
167
  __name: "TestsList",
201
168
  props: {
202
- tests: {}
169
+ tests: {},
170
+ actions: {}
203
171
  },
204
- emits: ["create-test"],
172
+ emits: ["create-test", "view-details"],
205
173
  setup(__props) {
206
174
  const locale = useI18n();
207
175
  return (_ctx, _cache) => {
@@ -219,11 +187,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
219
187
  }, null, 8, ["label"])
220
188
  ], 2),
221
189
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tests, (test) => {
222
- return openBlock(), createBlock(TestItem, mergeProps({
190
+ return openBlock(), createBlock(TestItem, {
223
191
  key: test.id,
224
192
  test,
225
- ref_for: true
226
- }, _ctx.$attrs), null, 16, ["test"]);
193
+ actions: _ctx.actions,
194
+ onViewDetails: ($event) => _ctx.$emit("view-details", test.id)
195
+ }, null, 8, ["test", "actions", "onViewDetails"]);
227
196
  }), 128))
228
197
  ], 2);
229
198
  };
@@ -248,13 +217,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
248
217
  const isLoading = ref(false);
249
218
  const toast = useToast();
250
219
  const locale = useI18n();
220
+ const { confirm } = useMessage();
221
+ const actions2 = computed(() => [
222
+ {
223
+ icon: "play",
224
+ id: "run",
225
+ event: onRunTest,
226
+ disabled: isRunDisabled,
227
+ show: (testId) => !isTestRunning(testId),
228
+ tooltip: (testId) => isRunDisabled(testId) ? getDisabledRunTooltip(testId) : locale.baseText("testDefinition.runTest")
229
+ },
230
+ {
231
+ icon: "stop",
232
+ id: "cancel",
233
+ event: onCancelTestRun,
234
+ tooltip: () => locale.baseText("testDefinition.cancelTestRun"),
235
+ show: (testId) => isTestRunning(testId)
236
+ },
237
+ {
238
+ icon: "list",
239
+ id: "view",
240
+ event: onViewDetails,
241
+ tooltip: () => locale.baseText("testDefinition.viewDetails")
242
+ },
243
+ {
244
+ icon: "pen",
245
+ id: "edit",
246
+ event: onEditTest,
247
+ tooltip: () => locale.baseText("testDefinition.editTest")
248
+ },
249
+ {
250
+ icon: "trash",
251
+ id: "delete",
252
+ event: onDeleteTest,
253
+ tooltip: () => locale.baseText("testDefinition.deleteTest")
254
+ }
255
+ ]);
251
256
  const tests = computed(() => {
252
257
  return (testDefinitionStore.allTestDefinitionsByWorkflowId[router.currentRoute.value.params.name] ?? []).filter((test) => test.id !== void 0).sort((a, b) => new Date(b?.updatedAt ?? "").getTime() - new Date(a?.updatedAt ?? "").getTime()).map((test) => ({
253
258
  id: test.id,
254
259
  name: test.name ?? "",
255
260
  tagName: test.annotationTagId ? getTagName(test.annotationTagId) : "",
256
261
  testCases: testDefinitionStore.testRunsByTestId[test.id]?.length ?? 0,
257
- execution: getTestExecution(test.id)
262
+ execution: getTestExecution(test.id),
263
+ fieldsIssues: testDefinitionStore.getFieldIssues(test.id)
258
264
  }));
259
265
  });
260
266
  const hasTests = computed(() => tests.value.length > 0);
@@ -263,6 +269,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
263
269
  const matchingTag = allTags.value.find((t) => t.id === tagId);
264
270
  return matchingTag?.name ?? "";
265
271
  }
272
+ function getDisabledRunTooltip(testId) {
273
+ const issues = testDefinitionStore.getFieldIssues(testId)?.map((i) => i.message).join("<br />- ");
274
+ return `${locale.baseText("testDefinition.completeConfig")} <br /> - ${issues}`;
275
+ }
266
276
  function getTestExecution(testId) {
267
277
  const lastRun = testDefinitionStore.lastRunByTestId[testId];
268
278
  if (!lastRun) {
@@ -283,6 +293,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
283
293
  };
284
294
  return mockExecutions;
285
295
  }
296
+ function isTestRunning(testId) {
297
+ return testDefinitionStore.lastRunByTestId[testId]?.status === "running";
298
+ }
299
+ function isRunDisabled(testId) {
300
+ return testDefinitionStore.getFieldIssues(testId)?.length > 0;
301
+ }
286
302
  function onCreateTest() {
287
303
  void router.push({ name: VIEWS.NEW_TEST_DEFINITION });
288
304
  }
@@ -302,8 +318,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
302
318
  toast.showError(error, locale.baseText("testDefinition.list.testStartError"));
303
319
  }
304
320
  }
305
- async function onCancelTestRun(testId, testRunId) {
321
+ async function onCancelTestRun(testId) {
306
322
  try {
323
+ const testRunId = testDefinitionStore.lastRunByTestId[testId]?.id;
307
324
  if (!testRunId) {
308
325
  throw new Error("Failed to cancel test run");
309
326
  }
@@ -328,6 +345,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
328
345
  void router.push({ name: VIEWS.TEST_DEFINITION_EDIT, params: { testId } });
329
346
  }
330
347
  async function onDeleteTest(testId) {
348
+ const deleteConfirmed = await confirm(
349
+ locale.baseText("testDefinition.deleteTest.warning"),
350
+ locale.baseText("testDefinition.deleteTest"),
351
+ {
352
+ type: "warning",
353
+ confirmButtonText: locale.baseText("generic.delete"),
354
+ cancelButtonText: locale.baseText("generic.cancel"),
355
+ closeOnClickModal: true
356
+ }
357
+ );
358
+ if (deleteConfirmed !== MODAL_CONFIRM) {
359
+ return;
360
+ }
331
361
  await testDefinitionStore.deleteById(testId);
332
362
  toast.showMessage({
333
363
  title: locale.baseText("testDefinition.list.testDeleted"),
@@ -338,12 +368,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
338
368
  if (!isLoading.value) {
339
369
  isLoading.value = true;
340
370
  try {
341
- await Promise.all([
342
- tagsStore.fetchAll(),
343
- testDefinitionStore.fetchAll({
344
- workflowId: router.currentRoute.value.params.name
345
- })
346
- ]);
371
+ await testDefinitionStore.fetchAll({
372
+ workflowId: router.currentRoute.value.params.name
373
+ });
347
374
  isLoading.value = false;
348
375
  } catch (error) {
349
376
  toast.showError(error, locale.baseText("testDefinition.list.loadError"));
@@ -352,7 +379,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
352
379
  }
353
380
  }
354
381
  }
355
- onMounted(() => {
382
+ onMounted(async () => {
356
383
  if (!testDefinitionStore.isFeatureEnabled) {
357
384
  toast.showMessage({
358
385
  title: locale.baseText("testDefinition.notImplemented"),
@@ -364,7 +391,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
364
391
  });
365
392
  return;
366
393
  }
367
- void loadInitialData();
394
+ await loadInitialData();
395
+ tests.value.forEach((test) => testDefinitionStore.updateRunFieldIssues(test.id));
368
396
  });
369
397
  return (_ctx, _cache) => {
370
398
  const _component_n8n_loading = resolveComponent("n8n-loading");
@@ -387,13 +415,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
387
415
  })) : (openBlock(), createBlock(TestsList, {
388
416
  key: 1,
389
417
  tests: tests.value,
390
- onCreateTest,
391
- onRunTest,
418
+ actions: actions2.value,
392
419
  onViewDetails,
393
- onEditTest,
394
- onDeleteTest,
395
- onCancelTestRun
396
- }, null, 8, ["tests"]))
420
+ onCreateTest
421
+ }, null, 8, ["tests", "actions"]))
397
422
  ], 64))
398
423
  ], 2);
399
424
  };
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, T as useWorkflowsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, m as resolveComponent, _ as _export_sfc } from "./index-CWcTt6jd.js";
1
+ import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, T as useWorkflowsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, m as resolveComponent, _ as _export_sfc } from "./index-DvkbRfZN.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "TestDefinitionRootView",
4
4
  setup(__props) {