@finos/legend-application-studio 28.17.18 → 28.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts.map +1 -1
  2. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +26 -5
  3. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
  4. package/lib/index.css +1 -1
  5. package/lib/package.json +3 -3
  6. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts +1 -0
  7. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts.map +1 -1
  8. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +15 -1
  9. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
  10. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts +27 -1
  11. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -1
  12. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +96 -1
  13. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  14. package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
  15. package/lib/stores/workspace-setup/WorkspaceSetupStore.js +5 -2
  16. package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
  17. package/package.json +14 -14
  18. package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +81 -0
  19. package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts +20 -0
  20. package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +148 -0
  21. package/src/stores/workspace-setup/WorkspaceSetupStore.ts +4 -1
@@ -1 +1 @@
1
- {"version":3,"file":"MappingTestableEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8DH,OAAO,KAAK,EAEV,oBAAoB,EAIrB,MAAM,sGAAsG,CAAC;AA2rC9G,eAAO,MAAM,qBAAqB,WACxB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA2IvD,CAAC"}
1
+ {"version":3,"file":"MappingTestableEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8DH,OAAO,KAAK,EAEV,oBAAoB,EAIrB,MAAM,sGAAsG,CAAC;AA4wC9G,eAAO,MAAM,qBAAqB,WACxB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA2IvD,CAAC"}
@@ -21,7 +21,7 @@ import { BlankPanelPlaceholder, CaretDownIcon, clsx, compareLabelFn, CustomSelec
21
21
  import { assertErrorThrown, filterByType, prettyCONSTName, returnUndefOnError, uniq, } from '@finos/legend-shared';
22
22
  import { useApplicationNavigationContext, useApplicationStore, } from '@finos/legend-application';
23
23
  import { flowResult } from 'mobx';
24
- import { QueryBuilderTextEditorMode, } from '@finos/legend-query-builder';
24
+ import { ExecutionPlanViewer, QueryBuilderTextEditorMode, } from '@finos/legend-query-builder';
25
25
  import { MappingExecutionQueryBuilderState } from '../../../../stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js';
26
26
  import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
27
27
  import { atomicTest_setDoc } from '../../../../stores/graph-modifier/Testable_GraphModifierHelper.js';
@@ -34,6 +34,7 @@ import { getMappingStores } from '../../../../stores/editor/editor-state/element
34
34
  import { EmbeddedDataType } from '../../../../stores/editor/editor-state/ExternalFormatState.js';
35
35
  import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
36
36
  import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../../__lib__/LegendStudioApplicationNavigationContext.js';
37
+ import { TestExecutionPlanDebugState, TestUnknownDebugState, } from '../../../../stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js';
37
38
  const CreateTestSuiteModal = observer((props) => {
38
39
  const { creatorState } = props;
39
40
  const mappingTestableState = creatorState.mappingTestableState;
@@ -262,10 +263,30 @@ const MappingTestSuiteQueryEditor = observer((props) => {
262
263
  }));
263
264
  });
264
265
  const clearQuery = applicationStore.guardUnhandledError(() => flowResult(testableQueryState.updateLamba(stub_RawLambda())));
265
- return (_jsxs("div", { className: "panel mapping-test-editor__query-panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "query" }) }), _jsx("div", { className: "panel__header__actions", children: _jsxs("div", { className: "btn__dropdown-combo", children: [_jsxs("button", { className: "btn__dropdown-combo__label", onClick: editWithQueryBuilder(), title: "Edit Query", tabIndex: -1, children: [_jsx(PencilIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Edit Query" })] }), _jsx(ControlledDropdownMenu, { className: "btn__dropdown-combo__dropdown-btn", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: editWithQueryBuilder(true), children: "Text Mode" }), _jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: clearQuery, children: "Clear Query" })] }), menuProps: {
266
- anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
267
- transformOrigin: { vertical: 'top', horizontal: 'right' },
268
- }, children: _jsx(CaretDownIcon, {}) })] }) })] }), !isStubbed_RawLambda(testableQueryState.query) && (_jsx(PanelContent, { children: _jsx("div", { className: "mapping-test-editor__query-panel__query", children: _jsx(CodeEditor, { inputValue: testableQueryState.lambdaString, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, hideMinimap: true }) }) }))] }));
266
+ // debug
267
+ const disableDebug = !testSuiteState.selectTestState;
268
+ const debugQuery = () => {
269
+ flowResult(testSuiteState.debug()).catch(testSuiteState.editorStore.applicationStore.alertUnhandledError);
270
+ };
271
+ const debugState = testSuiteState.selectTestState?.debugTestResultState;
272
+ const renderDebug = (val) => {
273
+ const closeDebug = () => testSuiteState.selectTestState?.setDebugState(undefined);
274
+ if (val instanceof TestExecutionPlanDebugState) {
275
+ return (_jsx(ExecutionPlanViewer, { executionPlanState: val.executionPlanState }));
276
+ }
277
+ if (val instanceof TestUnknownDebugState) {
278
+ return (_jsx(Dialog, { open: Boolean(debugState), onClose: closeDebug, classes: {
279
+ root: 'editor-modal__root-container',
280
+ container: 'editor-modal__container',
281
+ paper: 'editor-modal__content',
282
+ }, children: _jsxs(Modal, { className: clsx('editor-modal query-builder-text-mode__modal'), children: [_jsx(ModalHeader, { children: _jsx("div", { className: "modal__title", children: `Debug` }) }), _jsx(ModalBody, { children: _jsx("div", { className: clsx('query-builder-text-mode__modal__content'), children: _jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: JSON.stringify(val.testDebug.value), isReadOnly: true }) }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: closeDebug, type: "primary", children: "Close" }) })] }) }));
283
+ }
284
+ return null;
285
+ };
286
+ return (_jsxs("div", { className: "panel mapping-test-editor__query-panel", children: [_jsx(PanelLoadingIndicator, { isLoading: Boolean(testSuiteState.selectTestState?.debuggingTestAction.isInProgress) }), _jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "query" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsxs("div", { className: "btn__dropdown-combo", children: [_jsxs("button", { className: "btn__dropdown-combo__label", onClick: editWithQueryBuilder(), title: "Edit Query", tabIndex: -1, children: [_jsx(PencilIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Edit Query" })] }), _jsx(ControlledDropdownMenu, { className: "btn__dropdown-combo__dropdown-btn", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: editWithQueryBuilder(true), children: "Text Mode" }), _jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: clearQuery, children: "Clear Query" })] }), menuProps: {
287
+ anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
288
+ transformOrigin: { vertical: 'top', horizontal: 'right' },
289
+ }, children: _jsx(CaretDownIcon, {}) })] }), _jsx("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxs("button", { className: "btn__dropdown-combo__label", onClick: debugQuery, title: "Debug Test With Exec Plan", disabled: disableDebug, tabIndex: -1, children: [_jsx(PlayIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Debug" })] }) })] })] }), !isStubbed_RawLambda(testableQueryState.query) && (_jsx(PanelContent, { children: _jsx("div", { className: "mapping-test-editor__query-panel__query", children: _jsx(CodeEditor, { inputValue: testableQueryState.lambdaString, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, hideMinimap: true }) }) })), debugState && renderDebug(debugState)] }));
269
290
  });
270
291
  const StoreTestDataEditor = observer((props) => {
271
292
  const { mappingTestState, storeTestDataState } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"MappingTestableEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAML,UAAU,EACV,QAAQ,EACR,2BAA2B,EAC3B,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,mCAAmC,EACnC,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,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,CAAC,GAAG,CAAC,EAC5D,gBAAgB,EAAE,CAAC,IAAwB,EAAE,EAAE,CAC7C,kBAAkB,CAAC,IAAI,EAAE,SAAS,CAAC,GAErC,CACH,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"MappingTestableEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAML,UAAU,EACV,QAAQ,EACR,2BAA2B,EAC3B,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,mCAAmC,EACnC,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,aAAa,EACb,IAAI,EACJ,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACV,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,UAAU,EACV,aAAa,EAEb,qBAAqB,EACrB,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,IAAI,GACL,MAAM,sBAAsB,CAAC;AAQ9B,OAAO,EACL,+BAA+B,EAC/B,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE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D,QAAQ,EAAE,CAAC,GAAW,EAAQ,EAAE,CAAC,sBAAsB,CAAC,GAAG,CAAC,EAC5D,gBAAgB,EAAE,CAAC,IAAwB,EAAE,EAAE,CAC7C,kBAAkB,CAAC,IAAI,EAAE,SAAS,CAAC,GAErC,CACH,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-studio v28.17.18
1
+ /** @license @finos/legend-application-studio v28.18.1
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.17.18",
3
+ "version": "28.18.1",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -78,8 +78,8 @@
78
78
  "eslint": "8.57.0",
79
79
  "jest": "29.7.0",
80
80
  "npm-run-all": "4.1.5",
81
- "rimraf": "5.0.8",
82
- "sass": "1.77.6",
81
+ "rimraf": "6.0.0",
82
+ "sass": "1.77.7",
83
83
  "typescript": "5.5.3"
84
84
  },
85
85
  "peerDependencies": {
@@ -80,6 +80,7 @@ export declare class MappingTestSuiteState extends TestableTestSuiteEditorState
80
80
  createStoreTestData(targetClass: Class | undefined): StoreTestData | undefined;
81
81
  addNewTest(id: string, _class: Class | undefined): void;
82
82
  setShowModal(val: boolean): void;
83
+ debug(): GeneratorFn<void>;
83
84
  }
84
85
  export declare class CreateSuiteState {
85
86
  readonly editorStore: EditorStore;
@@ -1 +1 @@
1
- {"version":3,"file":"MappingTestableState.d.ts","sourceRoot":"","sources":["../../../../../../../src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,OAAO,EACZ,gBAAgB,EAChB,KAAK,KAAK,EACV,KAA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YAAY,EAAE,gBAAgB,GAAG,SAAS,CAAC;gBAEvC,kBAAkB,EAAE,kBAAkB;IA2BlD,IAAI,OAAO,IAAI,OAAO,CAErB;IAEQ,IAAI,IAAI,IAAI;IASrB,eAAe,IAAI,IAAI;IAIvB,gBAAgB,IAAI,IAAI;IAIxB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAM1C,mBAAmB,CAAC,GAAG,EAAE,gBAAgB,GAAG,qBAAqB;IAIhE,2BAA2B,IAAI,WAAW,CAAC,IAAI,CAAC;IAsBvC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,GAAG,WAAW,CAAC,IAAI,CAAC;CAkD/D"}
1
+ {"version":3,"file":"MappingTestableState.d.ts","sourceRoot":"","sources":["../../../../../../../src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,OAAO,EACZ,gBAAgB,EAChB,KAAK,KAAK,EACV,KAAK,kCAAkC,EACvC,KAAK,SAAS,EACd,WAAW,EACX,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,KAAK,EACV,KAAK,WAAW,EAOhB,aAAa,EAMd,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EACL,WAAW,EAEX,KAAK,WAAW,EAOjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAYnE,OAAO,EACL,iBAAiB,EACjB,qCAAqC,EACrC,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAGxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAS9D,qBAAa,kBAAkB;IAC7B,QAAQ,CAAC,WAAW,EAAE,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itReference, StoreTestData, getRootSetImplementation, DataElementReference, RelationalCSVData, RunTestsTestableInput, UniqueTestId, } from '@finos/legend-graph';
17
17
  import { action, computed, flow, flowResult, makeObservable, observable, } from 'mobx';
18
- import { ActionState, assertErrorThrown, isNonNullable, UnsupportedOperationError, LogEvent, uuid, filterByType, } from '@finos/legend-shared';
18
+ import { ActionState, assertErrorThrown, isNonNullable, UnsupportedOperationError, LogEvent, uuid, filterByType, guaranteeNonNullable, } from '@finos/legend-shared';
19
19
  import { LambdaEditorState } from '@finos/legend-query-builder';
20
20
  import {} from '../MappingEditorState.js';
21
21
  import { mappingTestable_addStoreTestData, mappingTestable_deleteStoreTestData, mappingTestable_setEmbeddedData, mappingTestable_setQuery, mapping_addTestSuite, } from '../../../../../graph-modifier/DSL_Mapping_GraphModifierHelper.js';
@@ -129,11 +129,15 @@ export class MappingTestState extends TestableTestEditorState {
129
129
  testResultState: observable,
130
130
  runningTestAction: observable,
131
131
  dataState: observable,
132
+ debugTestResultState: observable,
132
133
  addAssertion: action,
133
134
  setAssertionToRename: action,
134
135
  handleTestResult: action,
136
+ buildTestDebugState: action,
137
+ setDebugState: action,
135
138
  setSelectedTab: action,
136
139
  runTest: flow,
140
+ debugTest: flow,
137
141
  });
138
142
  this.parentState = parentSuiteState;
139
143
  this.mappingTestableState = parentSuiteState.mappingTestableState;
@@ -223,6 +227,7 @@ export class MappingTestSuiteState extends TestableTestSuiteEditorState {
223
227
  createStoreTestData: action,
224
228
  runSuite: flow,
225
229
  runFailingTests: flow,
230
+ debug: flow,
226
231
  });
227
232
  this.mappingTestableState = mappingTestableState;
228
233
  this.suite = suite;
@@ -276,6 +281,15 @@ export class MappingTestSuiteState extends TestableTestSuiteEditorState {
276
281
  setShowModal(val) {
277
282
  this.showCreateModal = val;
278
283
  }
284
+ *debug() {
285
+ try {
286
+ const testState = guaranteeNonNullable(this.selectTestState, 'Test Required to be selected to run debug');
287
+ flowResult(testState.debugTest()).catch(this.editorStore.applicationStore.alertUnhandledError);
288
+ }
289
+ catch (error) {
290
+ assertErrorThrown(error);
291
+ }
292
+ }
279
293
  }
280
294
  export class CreateSuiteState {
281
295
  editorStore;
@@ -1 +1 @@
1
- {"version":3,"file":"MappingTestableState.js","sourceRoot":"","sources":["../../../../../../../src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,gBAAgB,EAIhB,WAAW,EAMX,WAAW,EACX,8BAA8B,EAC9B,mBAAmB,EACnB,mBAAmB,EACnB,mCAAmC,EACnC,aAAa,EACb,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EACL,WAAW,EACX,iBAAiB,EAEjB,aAAa,EACb,yBAAyB,EACzB,QAAQ,EACR,IAAI,EACJ,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAA2B,MAAM,0BAA0B,CAAC;AACnE,OAAO,EACL,gCAAgC,EAChC,mCAAmC,EACnC,+BAA+B,EAC/B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EACL,mCAAmC,EACnC,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,iBAAiB,EACjB,qCAAqC,EACrC,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+DAA+D,CAAC;AAClG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,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3C,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAC/C,CAAC,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAC/B,CAAC;YACF,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC;QAChC,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"MappingTestableState.js","sourceRoot":"","sources":["../../../../../../../src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,gBAAgB,EAIhB,WAAW,EAMX,WAAW,EACX,8BAA8B,EAC9B,mBAAmB,EACnB,mBAAmB,EACnB,mCAAmC,EACnC,aAAa,EACb,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EACL,WAAW,EACX,iBAAiB,EAEjB,aAAa,EACb,yBAAyB,EACzB,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAA2B,MAAM,0BAA0B,CAAC;AACnE,OAAO,EACL,gCAAgC,EAChC,mCAAmC,EACnC,+BAA+B,EAC/B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EACL,mCAAmC,EACnC,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,iBAAiB,EACjB,qCAAqC,EACrC,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAA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AC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CACxB,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CACnD,CAAC;gBACF,WAAW;oBACT,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,QAAQ,CAC7D,CAAC,KAAK,CAAC,EACP,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,CACzC,CAAiB,CAAC;YACvB,CAAC;YACD,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;QACrC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACzE,IAAI,CAAC,4BAA4B,CAAC,IAAI,EAAE,CAAC;QAC3C,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAC/C,CAAC,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAC/B,CAAC;YACF,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC;QAChC,CAAC;IACH,CAAC;CACF"}
@@ -13,11 +13,12 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type Test, type AtomicTest, type Testable, type TestAssertion, type TestResult, TestSuite } from '@finos/legend-graph';
16
+ import { type Test, type AtomicTest, type Testable, type TestAssertion, type TestResult, type TestDebug, UnknownTestDebug, TestExecutionPlanDebug, TestSuite } from '@finos/legend-graph';
17
17
  import { type GeneratorFn, ActionState } from '@finos/legend-shared';
18
18
  import type { EditorStore } from '../../../EditorStore.js';
19
19
  import { TestAssertionEditorState } from './TestAssertionState.js';
20
20
  import type { ElementEditorState } from '../ElementEditorState.js';
21
+ import { ExecutionPlanState } from '@finos/legend-query-builder';
21
22
  export declare class TestableTestResultState {
22
23
  readonly editorStore: EditorStore;
23
24
  readonly testState: TestableTestEditorState;
@@ -25,6 +26,25 @@ export declare class TestableTestResultState {
25
26
  constructor(testState: TestableTestEditorState, editorStore: EditorStore);
26
27
  setResult(val: TestResult | undefined): void;
27
28
  }
29
+ export declare abstract class TestableDebugTestResultState {
30
+ readonly editorStore: EditorStore;
31
+ readonly testState: TestableTestEditorState;
32
+ testDebug: TestDebug | undefined;
33
+ constructor(testState: TestableTestEditorState, editorStore: EditorStore);
34
+ abstract initialize(): TestableDebugTestResultState;
35
+ }
36
+ export declare class TestExecutionPlanDebugState extends TestableDebugTestResultState {
37
+ testDebug: TestExecutionPlanDebug;
38
+ executionPlanState: ExecutionPlanState;
39
+ constructor(result: TestExecutionPlanDebug, testState: TestableTestEditorState, editorStore: EditorStore);
40
+ initialize(): TestableDebugTestResultState;
41
+ }
42
+ export declare class TestUnknownDebugState extends TestableDebugTestResultState {
43
+ testDebug: UnknownTestDebug;
44
+ executionPlanState: ExecutionPlanState;
45
+ constructor(result: UnknownTestDebug, testState: TestableTestEditorState, editorStore: EditorStore);
46
+ initialize(): TestableDebugTestResultState;
47
+ }
28
48
  export declare enum TESTABLE_TEST_TAB {
29
49
  SETUP = "SETUP",
30
50
  ASSERTION = "ASSERTION"
@@ -39,7 +59,9 @@ export declare abstract class TestableTestEditorState {
39
59
  assertionToRename: TestAssertion | undefined;
40
60
  runningTestAction: ActionState;
41
61
  testResultState: TestableTestResultState;
62
+ debugTestResultState: TestableDebugTestResultState | undefined;
42
63
  isReadOnly: boolean;
64
+ debuggingTestAction: ActionState;
43
65
  constructor(testable: Testable, test: AtomicTest, isReadOnly: boolean, editorStore: EditorStore);
44
66
  setSelectedTab(val: TESTABLE_TEST_TAB): void;
45
67
  setAssertionToRename(assertion: TestAssertion | undefined): void;
@@ -47,6 +69,7 @@ export declare abstract class TestableTestEditorState {
47
69
  deleteAssertion(assertionState: TestAssertionEditorState): void;
48
70
  openAssertion(val: TestAssertion): void;
49
71
  fetchTestResult(): Promise<TestResult>;
72
+ fetchDebugTestResult(): Promise<TestDebug>;
50
73
  resetResult(): void;
51
74
  handleTestResult(testResult: TestResult): void;
52
75
  correspondsToTestResult(val: TestResult): boolean;
@@ -54,6 +77,9 @@ export declare abstract class TestableTestEditorState {
54
77
  get assertionPassed(): number;
55
78
  get assertionFailed(): number;
56
79
  runTest(): GeneratorFn<void>;
80
+ debugTest(): GeneratorFn<void>;
81
+ setDebugState(val: TestableDebugTestResultState | undefined): void;
82
+ buildTestDebugState(testDebug: TestDebug): TestableDebugTestResultState | undefined;
57
83
  }
58
84
  export declare abstract class TestableTestSuiteEditorState {
59
85
  readonly editorStore: EditorStore;
@@ -1 +1 @@
1
- {"version":3,"file":"TestableEditorState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,UAAU,EAIf,SAAS,EAGV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAIhB,WAAW,EAKZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAY3D,OAAO,EACL,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC;gBAEnB,SAAS,EAAE,uBAAuB,EAAE,WAAW,EAAE,WAAW;IAUxE,SAAS,CAAC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E,GAAG,SAAS;IAI/D,wBAAwB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAMhD,IAAI,YAAY,IAAI,SAAS,EAAE,CAQ9B;IAED,kBAAkB,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,SAAS,GAAG,IAAI;IAIvD,kBAAkB,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI;IAIrD,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAOtD,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAQ1C,mBAAmB,IAAI,WAAW,CAAC,IAAI,CAAC;IAyBxC,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IA2BhC,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC;IA+B9C,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI;CAmB9C"}
1
+ {"version":3,"file":"TestableEditorState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,gBAAgB,EAChB,sBAAsB,EAItB,SAAS,EAGV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAIhB,WAAW,EAKZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAY3D,OAAO,EACL,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,qBAAa,uBAAuB;IAClC,Q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AAS,GAAG,IAAI;IAMhD,IAAI,YAAY,IAAI,SAAS,EAAE,CAQ9B;IAED,kBAAkB,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,SAAS,GAAG,IAAI;IAIvD,kBAAkB,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI;IAIrD,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAOtD,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAQ1C,mBAAmB,IAAI,WAAW,CAAC,IAAI,CAAC;IAyBxC,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IA2BhC,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC;IA+B9C,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI;CAmB9C"}
@@ -13,13 +13,14 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { TestExecuted, UniqueTestId, RunTestsTestableInput, TestSuite, TestExecutionStatus, TestError, } from '@finos/legend-graph';
16
+ import { UnknownTestDebug, TestExecutionPlanDebug, TestExecuted, UniqueTestId, RunTestsTestableInput, TestSuite, TestExecutionStatus, TestError, } from '@finos/legend-graph';
17
17
  import { assertErrorThrown, assertTrue, guaranteeNonNullable, ActionState, addUniqueEntry, deleteEntry, isNonNullable, filterByType, } from '@finos/legend-shared';
18
18
  import { action, flowResult, makeObservable, observable } from 'mobx';
19
19
  import { atomicTest_addAssertion, testSuite_deleteTest, testable_deleteTest, testable_setId, } from '../../../../graph-modifier/Testable_GraphModifierHelper.js';
20
20
  import { createEmptyEqualToJsonAssertion, isTestPassing, } from '../../../utils/TestableUtils.js';
21
21
  import { TESTABLE_RESULT } from '../../../sidebar-state/testable/GlobalTestRunnerState.js';
22
22
  import { TestAssertionEditorState, TEST_ASSERTION_TAB, } from './TestAssertionState.js';
23
+ import { ExecutionPlanState } from '@finos/legend-query-builder';
23
24
  export class TestableTestResultState {
24
25
  editorStore;
25
26
  testState;
@@ -36,6 +37,59 @@ export class TestableTestResultState {
36
37
  this.result = val;
37
38
  }
38
39
  }
40
+ export class TestableDebugTestResultState {
41
+ editorStore;
42
+ testState;
43
+ testDebug;
44
+ constructor(testState, editorStore) {
45
+ this.editorStore = editorStore;
46
+ this.testState = testState;
47
+ }
48
+ }
49
+ export class TestExecutionPlanDebugState extends TestableDebugTestResultState {
50
+ executionPlanState;
51
+ constructor(result, testState, editorStore) {
52
+ super(testState, editorStore);
53
+ this.testDebug = result;
54
+ this.executionPlanState = new ExecutionPlanState(this.editorStore.applicationStore, this.editorStore.graphManagerState);
55
+ makeObservable(this, {
56
+ executionPlanState: observable,
57
+ initialize: action,
58
+ });
59
+ }
60
+ initialize() {
61
+ try {
62
+ this.executionPlanState.setRawPlan(this.testDebug.executionPlan);
63
+ const rawPlan = this.testDebug.executionPlan;
64
+ if (rawPlan) {
65
+ const plan = this.editorStore.graphManagerState.graphManager.buildExecutionPlan(rawPlan, this.editorStore.graphManagerState.graph);
66
+ this.executionPlanState.initialize(plan);
67
+ }
68
+ }
69
+ catch {
70
+ // do nothing
71
+ }
72
+ const debug = this.testDebug.debug?.join('\n');
73
+ if (debug) {
74
+ this.executionPlanState.setDebugText(debug);
75
+ }
76
+ if (this.testDebug.error) {
77
+ this.editorStore.applicationStore.notificationService.notifyError(`Error generating exec plan: ${this.testDebug.error}`);
78
+ }
79
+ return this;
80
+ }
81
+ }
82
+ export class TestUnknownDebugState extends TestableDebugTestResultState {
83
+ executionPlanState;
84
+ constructor(result, testState, editorStore) {
85
+ super(testState, editorStore);
86
+ this.testDebug = result;
87
+ this.executionPlanState = new ExecutionPlanState(this.editorStore.applicationStore, this.editorStore.graphManagerState);
88
+ }
89
+ initialize() {
90
+ return this;
91
+ }
92
+ }
39
93
  export var TESTABLE_TEST_TAB;
40
94
  (function (TESTABLE_TEST_TAB) {
41
95
  TESTABLE_TEST_TAB["SETUP"] = "SETUP";
@@ -51,7 +105,9 @@ export class TestableTestEditorState {
51
105
  assertionToRename;
52
106
  runningTestAction = ActionState.create();
53
107
  testResultState;
108
+ debugTestResultState;
54
109
  isReadOnly;
110
+ debuggingTestAction = ActionState.create();
55
111
  constructor(testable, test, isReadOnly, editorStore) {
56
112
  this.editorStore = editorStore;
57
113
  this.test = test;
@@ -99,6 +155,17 @@ export class TestableTestEditorState {
99
155
  result.atomicTest.id === this.test.id, 'Unexpected test result');
100
156
  return result;
101
157
  }
158
+ // Fetches test results. Caller of test should catch the error
159
+ async fetchDebugTestResult() {
160
+ const input = new RunTestsTestableInput(this.testable);
161
+ const suite = this.test.__parent instanceof TestSuite ? this.test.__parent : undefined;
162
+ input.unitTestIds.push(new UniqueTestId(suite, this.test));
163
+ const testResults = await this.editorStore.graphManagerState.graphManager.debugTests([input], this.editorStore.graphManagerState.graph);
164
+ const result = guaranteeNonNullable(testResults[0]);
165
+ assertTrue(result.testable === this.testable &&
166
+ result.atomicTest.id === this.test.id, 'Unexpected test result');
167
+ return result;
168
+ }
102
169
  resetResult() {
103
170
  this.testResultState.setResult(undefined);
104
171
  this.assertionEditorStates.forEach((assertionState) => assertionState.assertionResultState.setTestResult(undefined));
@@ -154,6 +221,34 @@ export class TestableTestEditorState {
154
221
  this.runningTestAction.fail();
155
222
  }
156
223
  }
224
+ *debugTest() {
225
+ try {
226
+ this.setDebugState(undefined);
227
+ this.debuggingTestAction.inProgress();
228
+ const result = (yield flowResult(this.fetchDebugTestResult()));
229
+ const debugState = guaranteeNonNullable(this.buildTestDebugState(result), `can't build debug state for test: ${result.atomicTest.id}`);
230
+ this.setDebugState(debugState.initialize());
231
+ this.debuggingTestAction.complete();
232
+ }
233
+ catch (error) {
234
+ assertErrorThrown(error);
235
+ this.debugTestResultState = undefined;
236
+ this.editorStore.applicationStore.notificationService.notifyError(`Error running test: ${error.message}`);
237
+ this.debuggingTestAction.fail();
238
+ }
239
+ }
240
+ setDebugState(val) {
241
+ this.debugTestResultState = val;
242
+ }
243
+ buildTestDebugState(testDebug) {
244
+ if (testDebug instanceof TestExecutionPlanDebug) {
245
+ return new TestExecutionPlanDebugState(testDebug, this, this.editorStore);
246
+ }
247
+ else if (testDebug instanceof UnknownTestDebug) {
248
+ return new TestUnknownDebugState(testDebug, this, this.editorStore);
249
+ }
250
+ return undefined;
251
+ }
157
252
  }
158
253
  export class TestableTestSuiteEditorState {
159
254
  editorStore;