@acutis/cli 0.3.0 → 0.4.0-dev.27
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.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{CivjHt8O.js → 2wdMJ9Eu.js} +3 -2
- package/.output/public/_nuxt/{ByInI4bL.js → B1M4anPy.js} +1 -1
- package/.output/public/_nuxt/{Bb69JfZt.js → B6XOqJ2u.js} +1 -1
- package/.output/public/_nuxt/{Dr5eacry.js → BN7fEQYQ.js} +1 -1
- package/.output/public/_nuxt/{wnpiI27Y.js → BkcULE08.js} +1 -1
- package/.output/public/_nuxt/{gC9lFdjd.js → BqZt-GBS.js} +2 -2
- package/.output/public/_nuxt/{BEXHQAkw.js → Bs931Wcm.js} +1 -1
- package/.output/public/_nuxt/{CBc0D2cd.js → CFDrxEXS.js} +1 -1
- package/.output/public/_nuxt/CNqIpQYv.js +1 -0
- package/.output/public/_nuxt/Ce4iMzD_.js +1 -0
- package/.output/public/_nuxt/{smUCH4X-.js → DB7GBG_m.js} +1 -1
- package/.output/public/_nuxt/{BA8z-xsY.js → DKtXkDi_.js} +1 -1
- package/.output/public/_nuxt/{Dx-SIdMK.js → DMFeBIkq.js} +1 -1
- package/.output/public/_nuxt/{D50bai84.js → DRMDR4V8.js} +2 -2
- package/.output/public/_nuxt/{BVF5unuK.js → DjT2EspM.js} +1 -1
- package/.output/public/_nuxt/{BOqZFKXP.js → DnipZKP_.js} +1 -1
- package/.output/public/_nuxt/{D0ncO_UY.js → YTBYxWmy.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/50085fad-889a-4bb2-95ed-4e1809cf4184.json +1 -0
- package/.output/server/chunks/_/auth2.mjs +20 -5
- package/.output/server/chunks/_/auth2.mjs.map +1 -1
- package/.output/server/chunks/_/environment.mjs +3 -2
- package/.output/server/chunks/_/environment.mjs.map +1 -1
- package/.output/server/chunks/_/generation.mjs +6 -2
- package/.output/server/chunks/_/generation.mjs.map +1 -1
- package/.output/server/chunks/_/project.mjs +3 -1
- package/.output/server/chunks/_/project.mjs.map +1 -1
- package/.output/server/chunks/_/project.service.mjs +75 -13
- package/.output/server/chunks/_/project.service.mjs.map +1 -1
- package/.output/server/chunks/_/project2.mjs +1 -1
- package/.output/server/chunks/_/scenario.mjs +7 -2
- package/.output/server/chunks/_/scenario.mjs.map +1 -1
- package/.output/server/chunks/_/scenario2.mjs +27 -7
- package/.output/server/chunks/_/scenario2.mjs.map +1 -1
- package/.output/server/chunks/_/test-artifact.mjs +6 -3
- package/.output/server/chunks/_/test-artifact.mjs.map +1 -1
- package/.output/server/chunks/build/{Alert-CNOO9qRi.mjs → Alert-BAR7oZm-.mjs} +1 -1
- package/.output/server/chunks/build/{Alert-CNOO9qRi.mjs.map → Alert-BAR7oZm-.mjs.map} +1 -1
- package/.output/server/chunks/build/{Container-BPJTPlZa.mjs → Container-Bi8FG8Bs.mjs} +1 -1
- package/.output/server/chunks/build/{Container-BPJTPlZa.mjs.map → Container-Bi8FG8Bs.mjs.map} +1 -1
- package/.output/server/chunks/build/{Pagination-IXn1u4Ry.mjs → Pagination-DL3lUkxE.mjs} +1 -1
- package/.output/server/chunks/build/{Pagination-IXn1u4Ry.mjs.map → Pagination-DL3lUkxE.mjs.map} +1 -1
- package/.output/server/chunks/build/{_...scenario_-Dsbhpt_J.mjs → _...scenario_-BNXXHGiQ.mjs} +111 -25
- package/.output/server/chunks/build/_...scenario_-BNXXHGiQ.mjs.map +1 -0
- package/.output/server/chunks/build/{_slug_-BKi6rsW_.mjs → _slug_-BeDoAFw5.mjs} +116 -26
- package/.output/server/chunks/build/{_slug_-BKi6rsW_.mjs.map → _slug_-BeDoAFw5.mjs.map} +1 -1
- package/.output/server/chunks/build/{origin-CaoVCiwr.mjs → origin-BAquq5J9.mjs} +1 -1
- package/.output/server/chunks/build/{origin-CaoVCiwr.mjs.map → origin-BAquq5J9.mjs.map} +1 -1
- package/.output/server/chunks/build/{pages-5IHIHRXA.mjs → pages-DUMc2PRf.mjs} +4 -4
- package/.output/server/chunks/build/{pages-5IHIHRXA.mjs.map → pages-DUMc2PRf.mjs.map} +1 -1
- package/.output/server/chunks/build/{tags-Cao8D_go.mjs → tags-DQi75Adh.mjs} +150 -25
- package/.output/server/chunks/build/{tags-Cao8D_go.mjs.map → tags-DQi75Adh.mjs.map} +1 -1
- package/.output/server/chunks/build/{telemetria-C-vlQeD_.mjs → telemetria-D7RgkBCq.mjs} +3 -3
- package/.output/server/chunks/build/{telemetria-C-vlQeD_.mjs.map → telemetria-D7RgkBCq.mjs.map} +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +135 -133
- package/.output/server/chunks/routes/api/projects/_slug/scenario-skip.patch.mjs +57 -0
- package/.output/server/chunks/routes/api/projects/_slug/scenario-skip.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/projects/_slug/scenario-suggestions.post.mjs +1 -1
- package/.output/server/chunks/routes/api/projects/_slug/scenarios/_...scenario_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/projects/_slug/scenarios/_...scenario_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/telemetry/report.post.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/chunks/virtual/entry.mjs +7 -7
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/B6ArT79N.js +0 -1
- package/.output/public/_nuxt/DkSCbeHE.js +0 -1
- package/.output/public/_nuxt/builds/meta/e037d8e9-6e3c-4501-8ee3-50480453ea16.json +0 -1
- package/.output/server/chunks/build/_...scenario_-Dsbhpt_J.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"origin-
|
|
1
|
+
{"version":3,"file":"origin-BAquq5J9.mjs","sources":["../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/RovingFocus/RovingFocusItem.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsRoot.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/utils.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsContent.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsIndicator.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsList.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Tabs/TabsTrigger.js","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fbadge.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Badge.vue","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Ftabs.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Tabs.vue","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fcard.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Card.vue","../../../../app/utils/origin.ts"],"names":["useId","props","_sfc_main$3","_sfc_main$4"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as useFetch, M as useState, m as _sfc_main$4, _ as _sfc_main$5, a as useComponentProps, b as useAppConfig, t as tv, P as Primitive, $ as $fetch$1, p as modal_default$1, q as _sfc_main$1$2, o as _sfc_main$6$1, e as _sfc_main$5$1, aa as NuxtLink, ab as formBusInjectionKey, ac as formStateInjectionKey, ad as formErrorsInjectionKey, ae as formInputsInjectionKey, af as formLoadingInjectionKey, ag as formOptionsInjectionKey, B as useVModel, ah as useFormField, s as useComponentIcons, d as _sfc_main$3$1, ai as useEventBus, n as navigateTo, j as extractServerError, aj as looseToNumber } from '../virtual/entry.mjs';
|
|
2
|
-
import { a as _sfc_main$1$1, _ as _sfc_main$2$1, b as _sfc_main$7, p as projectOrigin } from './origin-
|
|
3
|
-
import { _ as _sfc_main$6 } from './Pagination-
|
|
4
|
-
import { _ as _sfc_main$3 } from './Container-
|
|
2
|
+
import { a as _sfc_main$1$1, _ as _sfc_main$2$1, b as _sfc_main$7, p as projectOrigin } from './origin-BAquq5J9.mjs';
|
|
3
|
+
import { _ as _sfc_main$6 } from './Pagination-DL3lUkxE.mjs';
|
|
4
|
+
import { _ as _sfc_main$3 } from './Container-Bi8FG8Bs.mjs';
|
|
5
5
|
import { defineComponent, ref, watch, computed, withAsyncContext, nextTick, mergeProps, unref, withCtx, isRef, createVNode, createTextVNode, toDisplayString, openBlock, createBlock, Fragment, renderList, createCommentVNode, renderSlot, useModel, reactive, useId, useTemplateRef, inject, provide, readonly, resolveDynamicComponent, useSlots, useSSRContext } from 'vue';
|
|
6
6
|
import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderList, ssrRenderSlot, ssrRenderAttr, ssrRenderVNode, ssrRenderClass } from 'vue/server-renderer';
|
|
7
7
|
import { f as createProjectSchema, d as cloneProjectSchema } from '../_/project2.mjs';
|
|
@@ -2178,4 +2178,4 @@ index_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
|
2178
2178
|
var pages_default = index_vue_vue_type_script_setup_true_lang_default;
|
|
2179
2179
|
|
|
2180
2180
|
export { pages_default as default };
|
|
2181
|
-
//# sourceMappingURL=pages-
|
|
2181
|
+
//# sourceMappingURL=pages-DUMc2PRf.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages-
|
|
1
|
+
{"version":3,"file":"pages-DUMc2PRf.mjs","sources":["../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/utils/form.js","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/types/form.js","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fform.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Form.vue","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Ftextarea.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Textarea.vue","../../../../app/components/project/form/modal.vue","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fskeleton.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e9e3fcf18fb997bdd8dc5f7c218a2205/node_modules/@nuxt/ui/dist/runtime/components/Skeleton.vue","../../../../app/components/project/empty.vue","../../../../app/components/project/card.vue","../../../../app/pages/index.vue"],"names":["$attrs","_sfc_main$3","_sfc_main$4","$fetch"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,7,8]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as useState, _ as _sfc_main$1, f as useRoute, k as icon_default, e as _sfc_main$5, p as modal_default$2, i as useAi, l as _sfc_main$7, A as AI_OFF_HINT, N as useRequestEvent, $ as $fetch$1, j as extractServerError, q as _sfc_main$1$2, m as _sfc_main$3 } from '../virtual/entry.mjs';
|
|
2
|
-
import { a as _sfc_main$1$1, _ as _sfc_main$2 } from './origin-
|
|
3
|
-
import { _ as _sfc_main } from './Alert-
|
|
2
|
+
import { a as _sfc_main$1$1, _ as _sfc_main$2 } from './origin-BAquq5J9.mjs';
|
|
3
|
+
import { _ as _sfc_main } from './Alert-BAR7oZm-.mjs';
|
|
4
4
|
import { _ as _plugin_vue_export_helper_default } from './_plugin-vue_export-helper-BOaGB7Aw.mjs';
|
|
5
5
|
import { ref, computed, defineComponent, mergeProps, withCtx, unref, createVNode, openBlock, createBlock, Fragment, renderList, toDisplayString, createCommentVNode, isRef, useModel, h, watch, nextTick, mergeModels, renderSlot, createTextVNode, createSlots, useSSRContext } from 'vue';
|
|
6
6
|
import { n as getRequestURL } from '../nitro/nitro.mjs';
|
|
@@ -68,11 +68,11 @@ var warnings_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
68
68
|
});
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region app/components/scenario/warnings.vue
|
|
71
|
-
var _sfc_setup$
|
|
71
|
+
var _sfc_setup$12 = warnings_vue_vue_type_script_setup_true_lang_default.setup;
|
|
72
72
|
warnings_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
73
73
|
const ssrContext = useSSRContext();
|
|
74
74
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/warnings.vue");
|
|
75
|
-
return _sfc_setup$
|
|
75
|
+
return _sfc_setup$12 ? _sfc_setup$12(props, ctx) : void 0;
|
|
76
76
|
};
|
|
77
77
|
var warnings_default = Object.assign(warnings_vue_vue_type_script_setup_true_lang_default, { __name: "ScenarioWarnings" });
|
|
78
78
|
//#endregion
|
|
@@ -146,11 +146,11 @@ var setup_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
146
146
|
});
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region app/components/webdriver/setup.vue
|
|
149
|
-
var _sfc_setup$
|
|
149
|
+
var _sfc_setup$11 = setup_vue_vue_type_script_setup_true_lang_default.setup;
|
|
150
150
|
setup_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
151
151
|
const ssrContext = useSSRContext();
|
|
152
152
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/webdriver/setup.vue");
|
|
153
|
-
return _sfc_setup$
|
|
153
|
+
return _sfc_setup$11 ? _sfc_setup$11(props, ctx) : void 0;
|
|
154
154
|
};
|
|
155
155
|
var setup_default = Object.assign(setup_vue_vue_type_script_setup_true_lang_default, { __name: "WebdriverSetup" });
|
|
156
156
|
//#endregion
|
|
@@ -184,11 +184,11 @@ var empty_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
184
184
|
});
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region app/components/base/empty.vue
|
|
187
|
-
var _sfc_setup$
|
|
187
|
+
var _sfc_setup$10 = empty_vue_vue_type_script_setup_true_lang_default.setup;
|
|
188
188
|
empty_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
189
189
|
const ssrContext = useSSRContext();
|
|
190
190
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/base/empty.vue");
|
|
191
|
-
return _sfc_setup$
|
|
191
|
+
return _sfc_setup$10 ? _sfc_setup$10(props, ctx) : void 0;
|
|
192
192
|
};
|
|
193
193
|
var empty_default = Object.assign(empty_vue_vue_type_script_setup_true_lang_default, { __name: "BaseEmpty" });
|
|
194
194
|
//#endregion
|
|
@@ -330,11 +330,11 @@ var timeline_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
330
330
|
});
|
|
331
331
|
//#endregion
|
|
332
332
|
//#region app/components/scenario/review/timeline.vue
|
|
333
|
-
var _sfc_setup$
|
|
333
|
+
var _sfc_setup$9 = timeline_vue_vue_type_script_setup_true_lang_default.setup;
|
|
334
334
|
timeline_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
335
335
|
const ssrContext = useSSRContext();
|
|
336
336
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/review/timeline.vue");
|
|
337
|
-
return _sfc_setup$
|
|
337
|
+
return _sfc_setup$9 ? _sfc_setup$9(props, ctx) : void 0;
|
|
338
338
|
};
|
|
339
339
|
var timeline_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(timeline_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-46efcf33"]]), { __name: "ScenarioReviewTimeline" });
|
|
340
340
|
//#endregion
|
|
@@ -385,11 +385,11 @@ var codefield_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
385
385
|
});
|
|
386
386
|
//#endregion
|
|
387
387
|
//#region app/components/base/codefield.vue
|
|
388
|
-
var _sfc_setup$
|
|
388
|
+
var _sfc_setup$8 = codefield_vue_vue_type_script_setup_true_lang_default.setup;
|
|
389
389
|
codefield_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
390
390
|
const ssrContext = useSSRContext();
|
|
391
391
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/base/codefield.vue");
|
|
392
|
-
return _sfc_setup$
|
|
392
|
+
return _sfc_setup$8 ? _sfc_setup$8(props, ctx) : void 0;
|
|
393
393
|
};
|
|
394
394
|
var codefield_default = /*#__PURE__*/ Object.assign(_plugin_vue_export_helper_default(codefield_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-3e187072"]]), { __name: "BaseCodefield" });
|
|
395
395
|
//#endregion
|
|
@@ -478,11 +478,11 @@ var confirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
478
478
|
});
|
|
479
479
|
//#endregion
|
|
480
480
|
//#region app/components/base/confirm.vue
|
|
481
|
-
var _sfc_setup$
|
|
481
|
+
var _sfc_setup$7 = confirm_vue_vue_type_script_setup_true_lang_default.setup;
|
|
482
482
|
confirm_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
483
483
|
const ssrContext = useSSRContext();
|
|
484
484
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/base/confirm.vue");
|
|
485
|
-
return _sfc_setup$
|
|
485
|
+
return _sfc_setup$7 ? _sfc_setup$7(props, ctx) : void 0;
|
|
486
486
|
};
|
|
487
487
|
var confirm_default = Object.assign(confirm_vue_vue_type_script_setup_true_lang_default, { __name: "BaseConfirm" });
|
|
488
488
|
/** O nome de arquivo que um título vira. Acompanha o `Str::slug` que o backend aplica ao gravar. */
|
|
@@ -724,11 +724,11 @@ var contexts_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
724
724
|
});
|
|
725
725
|
//#endregion
|
|
726
726
|
//#region app/components/scenario/review/contexts.vue
|
|
727
|
-
var _sfc_setup$
|
|
727
|
+
var _sfc_setup$6 = contexts_vue_vue_type_script_setup_true_lang_default.setup;
|
|
728
728
|
contexts_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
729
729
|
const ssrContext = useSSRContext();
|
|
730
730
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/review/contexts.vue");
|
|
731
|
-
return _sfc_setup$
|
|
731
|
+
return _sfc_setup$6 ? _sfc_setup$6(props, ctx) : void 0;
|
|
732
732
|
};
|
|
733
733
|
var contexts_default = Object.assign(contexts_vue_vue_type_script_setup_true_lang_default, { __name: "ScenarioReviewContexts" });
|
|
734
734
|
//#endregion
|
|
@@ -756,11 +756,11 @@ var phrases_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
756
756
|
});
|
|
757
757
|
//#endregion
|
|
758
758
|
//#region app/components/base/loading/phrases.vue
|
|
759
|
-
var _sfc_setup$
|
|
759
|
+
var _sfc_setup$5 = phrases_vue_vue_type_script_setup_true_lang_default.setup;
|
|
760
760
|
phrases_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
761
761
|
const ssrContext = useSSRContext();
|
|
762
762
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/base/loading/phrases.vue");
|
|
763
|
-
return _sfc_setup$
|
|
763
|
+
return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
|
|
764
764
|
};
|
|
765
765
|
var phrases_default = Object.assign(phrases_vue_vue_type_script_setup_true_lang_default, { __name: "BaseLoadingPhrases" });
|
|
766
766
|
//#endregion
|
|
@@ -797,11 +797,11 @@ var loading_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
797
797
|
});
|
|
798
798
|
//#endregion
|
|
799
799
|
//#region app/components/scenario/review/loading.vue
|
|
800
|
-
var _sfc_setup$
|
|
800
|
+
var _sfc_setup$4 = loading_vue_vue_type_script_setup_true_lang_default.setup;
|
|
801
801
|
loading_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
802
802
|
const ssrContext = useSSRContext();
|
|
803
803
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/review/loading.vue");
|
|
804
|
-
return _sfc_setup$
|
|
804
|
+
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
|
|
805
805
|
};
|
|
806
806
|
var loading_default = Object.assign(loading_vue_vue_type_script_setup_true_lang_default, { __name: "ScenarioReviewLoading" });
|
|
807
807
|
//#endregion
|
|
@@ -1158,14 +1158,138 @@ var modal_vue_vue_type_script_setup_true_lang_default$1 = /*@__PURE__*/ defineCo
|
|
|
1158
1158
|
});
|
|
1159
1159
|
//#endregion
|
|
1160
1160
|
//#region app/components/scenario/review/modal.vue
|
|
1161
|
-
var _sfc_setup$
|
|
1161
|
+
var _sfc_setup$3 = modal_vue_vue_type_script_setup_true_lang_default$1.setup;
|
|
1162
1162
|
modal_vue_vue_type_script_setup_true_lang_default$1.setup = (props, ctx) => {
|
|
1163
1163
|
const ssrContext = useSSRContext();
|
|
1164
1164
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/review/modal.vue");
|
|
1165
|
-
return _sfc_setup$
|
|
1165
|
+
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
|
|
1166
1166
|
};
|
|
1167
1167
|
var modal_default$1 = Object.assign(modal_vue_vue_type_script_setup_true_lang_default$1, { __name: "ScenarioReviewModal" });
|
|
1168
1168
|
//#endregion
|
|
1169
|
+
//#region app/utils/run-failure.ts
|
|
1170
|
+
var REGRAVAR = "O seletor veio de uma gravação antiga. Regravar o passo costuma resolver, porque a captura hoje prefere data-testid.";
|
|
1171
|
+
var AMBIENTE = "Confira a URL do ambiente ativo em Ambientes, e se o sistema está no ar.";
|
|
1172
|
+
var TESTID = "Peça um data-testid para esse elemento no sistema testado: é o único seletor que não depende de posição nem de estilo.";
|
|
1173
|
+
var ESCONDIDO = "O elemento existe, então o seletor está certo. Falta o passo anterior que o revela, como abrir o modal ou a aba.";
|
|
1174
|
+
var LOCATOR = /^Locator:\s*(.+)$/m;
|
|
1175
|
+
var TIMEOUT = /^Timeout:\s*(\d+)ms$/m;
|
|
1176
|
+
var NOT_FOUND = /element\(s\) not found/;
|
|
1177
|
+
var NAVIGATION = /page\.goto: (net::[A-Z_]+) at (\S+)/;
|
|
1178
|
+
var STRICT = /strict mode violation: (.+?) resolved to (\d+) elements/;
|
|
1179
|
+
var TEST_TIMEOUT = /Test timeout of (\d+)ms exceeded/;
|
|
1180
|
+
var ACTION_TIMEOUT = /locator\.(\w+): Timeout (\d+)ms exceeded/;
|
|
1181
|
+
var WAITING_FOR = /waiting for (.+)$/m;
|
|
1182
|
+
var EXPECTED_STRING = /^Expected(?: string)?:\s*(".*")$/m;
|
|
1183
|
+
var RECEIVED_STRING = /^Received(?: string)?:\s*(".*")$/m;
|
|
1184
|
+
var NETWORK_REASONS = {
|
|
1185
|
+
"net::ERR_NAME_NOT_RESOLVED": "o domínio não existe",
|
|
1186
|
+
"net::ERR_CONNECTION_REFUSED": "nada está escutando nesse endereço",
|
|
1187
|
+
"net::ERR_CONNECTION_TIMED_OUT": "a conexão expirou",
|
|
1188
|
+
"net::ERR_CERT_AUTHORITY_INVALID": "o certificado não é confiável",
|
|
1189
|
+
"net::ERR_INTERNET_DISCONNECTED": "a máquina está sem rede"
|
|
1190
|
+
};
|
|
1191
|
+
var ACTIONS = {
|
|
1192
|
+
click: "clicar em",
|
|
1193
|
+
fill: "preencher",
|
|
1194
|
+
check: "marcar",
|
|
1195
|
+
uncheck: "desmarcar",
|
|
1196
|
+
press: "digitar em",
|
|
1197
|
+
hover: "passar o mouse por",
|
|
1198
|
+
selectOption: "escolher a opção de"
|
|
1199
|
+
};
|
|
1200
|
+
function seconds(ms) {
|
|
1201
|
+
return `${Number(ms) / 1e3}s`;
|
|
1202
|
+
}
|
|
1203
|
+
/** O que o usuário reconhece do locator: o texto, o testid ou o seletor cru, sem o embrulho. */
|
|
1204
|
+
function readable(locator) {
|
|
1205
|
+
return (locator.match(/^(?:getBy\w+|locator)\(\s*(['"`])((?:\\.|(?!\1).)*)\1/)?.[2] ?? locator).trim();
|
|
1206
|
+
}
|
|
1207
|
+
function firstLine(error) {
|
|
1208
|
+
return (error.split("\n").find((text) => text.trim())?.trim() ?? "").replace(/^(?:TimeoutError|Error):\s*/, "");
|
|
1209
|
+
}
|
|
1210
|
+
function describeRunFailure(error) {
|
|
1211
|
+
if (!error?.trim()) return null;
|
|
1212
|
+
const navigation = error.match(NAVIGATION);
|
|
1213
|
+
if (navigation) {
|
|
1214
|
+
const reason = NETWORK_REASONS[navigation[1]] ?? "a navegação falhou";
|
|
1215
|
+
return {
|
|
1216
|
+
summary: `O endereço ${navigation[2]} não respondeu: ${reason}.`,
|
|
1217
|
+
hint: AMBIENTE
|
|
1218
|
+
};
|
|
1219
|
+
}
|
|
1220
|
+
const strict = error.match(STRICT);
|
|
1221
|
+
if (strict) return {
|
|
1222
|
+
summary: `O seletor ${readable(strict[1])} casou ${strict[2]} elementos, então não identifica um só.`,
|
|
1223
|
+
hint: TESTID
|
|
1224
|
+
};
|
|
1225
|
+
const expected = error.match(EXPECTED_STRING);
|
|
1226
|
+
const received = error.match(RECEIVED_STRING);
|
|
1227
|
+
const locator = error.match(LOCATOR);
|
|
1228
|
+
if (expected && received) return {
|
|
1229
|
+
summary: `${locator ? readable(locator[1]) : "A página"} mostrava ${received[1]}, e o cenário esperava ${expected[1]}.`,
|
|
1230
|
+
hint: null
|
|
1231
|
+
};
|
|
1232
|
+
const test = error.match(TEST_TIMEOUT);
|
|
1233
|
+
if (test) {
|
|
1234
|
+
const waited = locator ? `, esperando por ${readable(locator[1])}` : " e foi interrompido";
|
|
1235
|
+
return {
|
|
1236
|
+
summary: `O cenário passou de ${seconds(test[1])} no total${waited}.`,
|
|
1237
|
+
hint: "O passo que estiver em vermelho na timeline é onde ele ficou preso."
|
|
1238
|
+
};
|
|
1239
|
+
}
|
|
1240
|
+
const timeout = error.match(TIMEOUT);
|
|
1241
|
+
if (locator && timeout) {
|
|
1242
|
+
const what = readable(locator[1]);
|
|
1243
|
+
return NOT_FOUND.test(error) ? {
|
|
1244
|
+
summary: `Não achei ${what} na página depois de ${seconds(timeout[1])}.`,
|
|
1245
|
+
hint: REGRAVAR
|
|
1246
|
+
} : {
|
|
1247
|
+
summary: `${what} está na página, mas continuou escondido por ${seconds(timeout[1])}.`,
|
|
1248
|
+
hint: ESCONDIDO
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
const action = error.match(ACTION_TIMEOUT);
|
|
1252
|
+
if (action) {
|
|
1253
|
+
const verb = ACTIONS[action[1]] ?? `usar (${action[1]})`;
|
|
1254
|
+
const target = error.match(WAITING_FOR);
|
|
1255
|
+
return {
|
|
1256
|
+
summary: `Não consegui ${verb} ${target ? readable(target[1]) : "o elemento"}: o elemento não ficou pronto em ${seconds(action[2])}.`,
|
|
1257
|
+
hint: REGRAVAR
|
|
1258
|
+
};
|
|
1259
|
+
}
|
|
1260
|
+
return {
|
|
1261
|
+
summary: firstLine(error),
|
|
1262
|
+
hint: null
|
|
1263
|
+
};
|
|
1264
|
+
}
|
|
1265
|
+
//#endregion
|
|
1266
|
+
//#region app/components/scenario/test-run/failure.vue?vue&type=script&setup=true&lang.ts
|
|
1267
|
+
var failure_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
1268
|
+
__name: "failure",
|
|
1269
|
+
__ssrInlineRender: true,
|
|
1270
|
+
props: { error: {} },
|
|
1271
|
+
setup(__props) {
|
|
1272
|
+
const failure = computed(() => describeRunFailure(__props.error));
|
|
1273
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1274
|
+
if (unref(failure)) {
|
|
1275
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "mt-1 text-sm" }, _attrs))}><p data-testid="execucao-step-erro"><span class="font-semibold text-error">Erro:</span> ${ssrInterpolate(unref(failure).summary)}</p>`);
|
|
1276
|
+
if (unref(failure).hint) _push(`<p class="mt-0.5 text-dimmed" data-testid="execucao-step-dica">${ssrInterpolate(unref(failure).hint)}</p>`);
|
|
1277
|
+
else _push(`<!---->`);
|
|
1278
|
+
_push(`<details class="mt-1"><summary class="cursor-pointer text-xs text-dimmed"> Mensagem do Playwright </summary><code class="mt-1 block whitespace-pre-wrap font-mono text-xs text-dimmed" data-testid="execucao-step-erro-cru">${ssrInterpolate(__props.error)}</code></details></div>`);
|
|
1279
|
+
} else _push(`<!---->`);
|
|
1280
|
+
};
|
|
1281
|
+
}
|
|
1282
|
+
});
|
|
1283
|
+
//#endregion
|
|
1284
|
+
//#region app/components/scenario/test-run/failure.vue
|
|
1285
|
+
var _sfc_setup$2 = failure_vue_vue_type_script_setup_true_lang_default.setup;
|
|
1286
|
+
failure_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
1287
|
+
const ssrContext = useSSRContext();
|
|
1288
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/scenario/test-run/failure.vue");
|
|
1289
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
1290
|
+
};
|
|
1291
|
+
var failure_default = Object.assign(failure_vue_vue_type_script_setup_true_lang_default, { __name: "ScenarioTestRunFailure" });
|
|
1292
|
+
//#endregion
|
|
1169
1293
|
//#region app/components/scenario/test-run/steps.vue?vue&type=script&setup=true&lang.ts
|
|
1170
1294
|
var steps_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
1171
1295
|
__name: "steps",
|
|
@@ -1186,6 +1310,7 @@ var steps_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
1186
1310
|
};
|
|
1187
1311
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1188
1312
|
const _component_UIcon = _sfc_main$5;
|
|
1313
|
+
const _component_ScenarioTestRunFailure = failure_default;
|
|
1189
1314
|
_push(`<ol${ssrRenderAttrs(mergeProps({ class: "flex flex-col" }, _attrs))}><!--[-->`);
|
|
1190
1315
|
ssrRenderList(__props.steps, (step, i) => {
|
|
1191
1316
|
_push(`<li data-testid="execucao-step"${ssrRenderAttr("data-status", step.status)} class="flex items-stretch gap-3 pb-4 last:pb-0"><div class="flex flex-col items-center">`);
|
|
@@ -1196,7 +1321,7 @@ var steps_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
1196
1321
|
if (i < __props.steps.length - 1) _push(`<span class="w-px grow min-h-4 -mb-4 bg-inverted/30"></span>`);
|
|
1197
1322
|
else _push(`<!---->`);
|
|
1198
1323
|
_push(`</div><div class="min-w-0"><p class="text-base" data-testid="execucao-step-titulo">${ssrInterpolate(step.title)}</p>`);
|
|
1199
|
-
if (step.status === "failed" && step.error) _push(
|
|
1324
|
+
if (step.status === "failed" && step.error) _push(ssrRenderComponent(_component_ScenarioTestRunFailure, { error: step.error }, null, _parent));
|
|
1200
1325
|
else _push(`<!---->`);
|
|
1201
1326
|
_push(`</div></li>`);
|
|
1202
1327
|
});
|
|
@@ -1657,5 +1782,5 @@ function tagColor(tag) {
|
|
|
1657
1782
|
return "primary";
|
|
1658
1783
|
}
|
|
1659
1784
|
|
|
1660
|
-
export { useWebdriver as a, timeline_default as b, codefield_default as c, confirm_default as d, empty_default as e, modal_default as f, formatTestedAt as g, draftFromScenario as h, contexts_default as i,
|
|
1661
|
-
//# sourceMappingURL=tags-
|
|
1785
|
+
export { useWebdriver as a, timeline_default as b, codefield_default as c, confirm_default as d, empty_default as e, modal_default as f, formatTestedAt as g, draftFromScenario as h, contexts_default as i, failure_default as j, steps_default as k, modal_default$1 as m, phrases_default as p, reportUrlFor as r, setup_default as s, tagColor as t, useRunStream as u, videoUrlFor as v, warnings_default as w };
|
|
1786
|
+
//# sourceMappingURL=tags-DQi75Adh.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags-
|
|
1
|
+
{"version":3,"file":"tags-DQi75Adh.mjs","sources":["../../../../app/components/scenario/warnings.vue","../../../../node_modules/.pnpm/nuxt@4.5.2_@babel+plugin-syntax-jsx@7.29.7_@babel+core@7.29.7__@babel+plugin-syntax-typ_45e57be3aa7485e3075b5014322cbc65/node_modules/nuxt/dist/app/composables/url.js","../../../../app/components/webdriver/setup.vue","../../../../app/components/base/empty.vue","../../../../app/utils/recorder-event.ts","../../../../app/components/scenario/review/timeline.vue","../../../../app/components/base/codefield.vue","../../../../app/components/base/confirm.vue","../../../../app/utils/scenario-draft.ts","../../../../app/components/scenario/review/contexts.vue","../../../../app/components/base/loading/phrases.vue","../../../../app/components/scenario/review/loading.vue","../../../../app/composables/webdriver.ts","../../../../app/components/scenario/review/modal.vue","../../../../app/utils/run-failure.ts","../../../../app/components/scenario/test-run/failure.vue","../../../../app/components/scenario/test-run/steps.vue","../../../../app/components/scenario/test-run/modal.vue","../../../../app/composables/run-stream.ts","../../../../app/utils/tags.ts"],"names":["$fetch"],"mappings":"","x_google_ignoreList":[1]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as useNotify, _ as _sfc_main$1, $ as $fetch$1 } from '../virtual/entry.mjs';
|
|
2
|
-
import { _ as _sfc_main } from './Container-
|
|
3
|
-
import { _ as _sfc_main$2 } from './Alert-
|
|
2
|
+
import { _ as _sfc_main } from './Container-Bi8FG8Bs.mjs';
|
|
3
|
+
import { _ as _sfc_main$2 } from './Alert-BAR7oZm-.mjs';
|
|
4
4
|
import { defineComponent, ref, mergeProps, withCtx, unref, createTextVNode, createVNode, useSSRContext } from 'vue';
|
|
5
5
|
import { ssrRenderComponent } from 'vue/server-renderer';
|
|
6
6
|
import 'unhead/plugins';
|
|
@@ -128,4 +128,4 @@ telemetria_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
|
128
128
|
var telemetria_default = telemetria_vue_vue_type_script_setup_true_lang_default;
|
|
129
129
|
|
|
130
130
|
export { telemetria_default as default };
|
|
131
|
-
//# sourceMappingURL=telemetria-
|
|
131
|
+
//# sourceMappingURL=telemetria-D7RgkBCq.mjs.map
|
package/.output/server/chunks/build/{telemetria-C-vlQeD_.mjs.map → telemetria-D7RgkBCq.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetria-
|
|
1
|
+
{"version":3,"file":"telemetria-D7RgkBCq.mjs","sources":["../../../../app/pages/dev/telemetria.vue"],"names":["$fetch"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,EAAA,MAAM,SAAS,SAAA,EAAU;EACzB,MAAM,QAAA,GAAW,IAAI,KAAK,CAAA;AAE1B,EAAA,eAAe,YAAA,GAAe;AAC5B,GAAA,QAAA,CAAS,KAAA,GAAQ,IAAA;GAEjB,IAAI;AACF,IAAA,MAAMA,SAAO,2BAA2B,CAAA;AAC1C,GAAA,CAAA,CAAA,OAAS,KAAA,EAAO;IACd,MAAA,CAAO,OAAA,CAAQ,KAAA,EAAO,4DAAA,EAA8D,6BAA6B,CAAA;GACnH,CAAA,SAAU;AACR,IAAA,QAAA,CAAS,KAAA,GAAQ,KAAA;AACnB,GAAA;AACF,EAAA;;;;;GAIc,KAAA,CAAA,kBAAA,CAAA,uBAAA,UAAA,CAAA,EAAA,OAAM,iBAAA,EAAiB,EAAA,MAAA,CAAA,EAAA;AAAnC,IAAA,OAAA,EAAA,OAAA,CAAA,CA2Ba,CAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,KAAA;;;;AAfR,OAAA,OAAA,EAAS,MAAA,QAAA,CAAA;OACV,KAAA,EAAM,OAAA;OACN,IAAA,EAAK,kBAAA;OACJ,OAAA,EAAO;;AAJV,OAAA,OAAA,EAAA,OAAA,CAAA,CAOU,CAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,KAAA;;aAFT,OAAA,CAAA,eAAA,CAAA,iBAED,CAAA,CAAA;;;;;OAGE,KAAA,EAAM,SAAA;OACN,OAAA,EAAQ,QAAA;OACR,IAAA,EAAK,yBAAA;OACL,KAAA,EAAM,wBAAA;OACL,WAAA,EAAa,KAAA,CAAA,kCAAA,CAAA,IAAqB;;;MAxBrC,WAAA,CAQM,KAAA,EAAA,EARD,KAAA,EAAM,WAAA,IAAW,CACpB,WAAA,CAEK,IAAA,EAAA,EAFD,KAAA,EAAM,wBAAA,IAAyB,sBAEnC,CAAA,EACA,YAGI,GAAA,EAAA,EAHD,OAAM,wBAAA,EAAwB,EAAC,8HAGlC,CAAA,CAAA,CAAA;AAGF,MAAA,WAAA,CAOU,kBAAA,EAAA;AANP,OAAA,OAAA,EAAS,MAAA,QAAA,CAAA;OACV,KAAA,EAAM,OAAA;OACN,IAAA,EAAK,kBAAA;OACJ,OAAA,EAAO;;AACT,OAAA,OAAA,EAAA,OAAA,CAAA,MAED,CAFC,eAAA,CAAA,iBAED,CAAA,CAAA,CAAA;;;AAEA,MAAA,WAAA,CAME,iBAAA,EAAA;OALA,KAAA,EAAM,SAAA;OACN,OAAA,EAAQ,QAAA;OACR,IAAA,EAAK,yBAAA;OACL,KAAA,EAAM,wBAAA;OACL,WAAA,EAAa,KAAA,CAAA,kCAAA,CAAA,IAAqB;;;;;;;;;;;;;;;;;;;;;"}
|