@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.
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +26 -5
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +15 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts +27 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +96 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +5 -2
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +14 -14
- package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +81 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts +20 -0
- package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +148 -0
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +4 -1
package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TestableEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts"],"names":[],"mappings":"AAAA;;;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IACH,CAAC;IAED,gBAAgB,CAAC,OAAqB;QACpC,IAAI,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;YACjC,MAAM,gBAAgB,GAAG,OAAO;iBAC7B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;iBAC7B,MAAM,CAAC,aAAa,CAAC,CAAC;YACzB,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,CAChD,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,CAC/D,CAAC;YACF,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,cAAc,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC;QAC3D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;QACnC,CAAC;QACD,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YACvC,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAClE,SAAS,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAC1C,CAAC;YACF,KAAK,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;IACL,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"TestableEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,gBAAgB,EAChB,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,qBAAqB,EACrB,SAAS,EACT,mBAAmB,EACnB,SAAS,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,iBAAiB,EACj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-1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkspaceSetupStore.d.ts","sourceRoot":"","sources":["../../../src/stores/workspace-setup/WorkspaceSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,WAAW,EAIhB,WAAW,
|
1
|
+
{"version":3,"file":"WorkspaceSetupStore.d.ts","sourceRoot":"","sources":["../../../src/stores/workspace-setup/WorkspaceSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,WAAW,EAIhB,WAAW,EAMZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,gBAAgB,EAErB,aAAa,EAEb,OAAO,EAEP,SAAS,EACT,KAAK,EAEN,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAMhF,OAAO,EAEL,0BAA0B,EAC3B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,UAAU,0BAA0B;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,mBAAmB;IAC9B,QAAQ,CAAC,gBAAgB,EAAE,4BAA4B,CAAC;IAExD,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,SAAS,cAAwB;IAE1C,QAAQ,EAAE,OAAO,EAAE,CAAM;IACzB,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,iCAAiC,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IAC3E,iBAAiB,cAAwB;IACzC,0BAA0B,cAAwB;IAClD,0BAA0B,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IACpE,sBAAsB,UAAS;IAE/B,qBAAqB,cAAwB;IAC7C,aAAa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AW,CAAC,IAAI,CAAC;IA8CvC,aAAa,CACZ,OAAO,EAAE,OAAO,EAChB,aAAa,CAAC,EACV;QACE,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,aAAa,CAAC;KAC9B,GACD,SAAS,GACZ,WAAW,CAAC,IAAI,CAAC;IAsHpB,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAiB1C,aAAa,CACZ,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,IAAI,GAAE,MAAM,EAAO,GAClB,WAAW,CAAC,IAAI,CAAC;IA2BnB,aAAa,CACZ,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,WAAW,CAAC,IAAI,CAAC;IAgCnB,eAAe,CACd,SAAS,EAAE,MAAM,EACjB,qBAAqB,EAAE,MAAM,GAAG,SAAS,EACzC,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,aAAa,GAC3B,WAAW,CAAC,IAAI,CAAC;CA0CrB"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { observable, action, flowResult, makeObservable, flow } from 'mobx';
|
17
17
|
import { LEGEND_STUDIO_APP_EVENT } from '../../__lib__/LegendStudioEvent.js';
|
18
|
-
import { assertErrorThrown, LogEvent, ActionState, IllegalStateError, UnsupportedOperationError, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
|
18
|
+
import { assertErrorThrown, LogEvent, ActionState, IllegalStateError, UnsupportedOperationError, guaranteeNonNullable, guaranteeType, exactSearch, } from '@finos/legend-shared';
|
19
19
|
import { generateSetupRoute } from '../../__lib__/LegendStudioNavigation.js';
|
20
20
|
import { SANDBOX_SDLC_TAG, WorkspaceType, ImportReport, Project, Review, Workspace, Patch, isProjectSandbox, } from '@finos/legend-server-sdlc';
|
21
21
|
import { DEFAULT_TAB_SIZE, DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
|
@@ -223,7 +223,10 @@ export class WorkspaceSetupStore {
|
|
223
223
|
const isValidSearchString = searchText.length >= DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH;
|
224
224
|
this.loadProjectsState.inProgress();
|
225
225
|
try {
|
226
|
-
this.projects = (yield this.sdlcServerClient.getProjects(undefined,
|
226
|
+
this.projects = (yield this.sdlcServerClient.getProjects(undefined,
|
227
|
+
// We apply an exact search on the input text because we show exact searches with
|
228
|
+
// custom selector. This avoids losing some results with the additional filtering.
|
229
|
+
isValidSearchString ? exactSearch(searchText) : undefined, undefined, DEFAULT_TYPEAHEAD_SEARCH_LIMIT)).map((v) => Project.serialization.fromJson(v));
|
227
230
|
this.loadProjectsState.pass();
|
228
231
|
}
|
229
232
|
catch (error) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkspaceSetupStore.js","sourceRoot":"","sources":["../../../src/stores/workspace-setup/WorkspaceSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAEL,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,OAAO,EACP,MAAM,EACN,SAAS,EACT,KAAK,EACL,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,gBAAgB,EAChB,8BAA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,KAAK,CACN,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC/D,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC;QACpC,CAAC;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"WorkspaceSetupStore.js","sourceRoot":"","sources":["../../../src/stores/workspace-setup/WorkspaceSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,oBAAoB,EACpB,aAAa,EACb,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAEL,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,OAAO,EACP,MAAM,EACN,SAAS,EACT,KAAK,EACL,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,gBAAgB,EAChB,8BAA8B,EAC9B,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQxD,MAAM,OAAO,mBAAmB;IACrB,gBAAgB,CAA+B;IAE/C,gBAAgB,CAAmB;IACnC,SAAS,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAE1C,QAAQ,GAAc,EAAE,CAAC;IACzB,cAAc,CAAuB;IACrC,iCAAiC,CAA0C;IAC3E,iBAAiB,GA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"Legend Studio application core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,16 +45,16 @@
|
|
45
45
|
"test:watch": "jest --watch"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"@finos/legend-application": "15.1.
|
49
|
-
"@finos/legend-art": "7.1.
|
50
|
-
"@finos/legend-graph": "31.10.
|
51
|
-
"@finos/legend-lego": "1.2.
|
52
|
-
"@finos/legend-query-builder": "4.14.
|
53
|
-
"@finos/legend-server-depot": "6.0.
|
54
|
-
"@finos/legend-server-sdlc": "5.3.
|
55
|
-
"@finos/legend-server-showcase": "0.2.
|
56
|
-
"@finos/legend-shared": "10.0.
|
57
|
-
"@finos/legend-storage": "3.0.
|
48
|
+
"@finos/legend-application": "15.1.16",
|
49
|
+
"@finos/legend-art": "7.1.44",
|
50
|
+
"@finos/legend-graph": "31.10.11",
|
51
|
+
"@finos/legend-lego": "1.2.47",
|
52
|
+
"@finos/legend-query-builder": "4.14.59",
|
53
|
+
"@finos/legend-server-depot": "6.0.51",
|
54
|
+
"@finos/legend-server-sdlc": "5.3.22",
|
55
|
+
"@finos/legend-server-showcase": "0.2.19",
|
56
|
+
"@finos/legend-shared": "10.0.46",
|
57
|
+
"@finos/legend-storage": "3.0.96",
|
58
58
|
"@testing-library/dom": "10.3.1",
|
59
59
|
"@testing-library/react": "16.0.0",
|
60
60
|
"@types/react": "18.3.3",
|
@@ -72,14 +72,14 @@
|
|
72
72
|
"yaml": "2.4.5"
|
73
73
|
},
|
74
74
|
"devDependencies": {
|
75
|
-
"@finos/legend-dev-utils": "2.1.
|
75
|
+
"@finos/legend-dev-utils": "2.1.13",
|
76
76
|
"@jest/globals": "29.7.0",
|
77
77
|
"cross-env": "7.0.3",
|
78
78
|
"eslint": "8.57.0",
|
79
79
|
"jest": "29.7.0",
|
80
80
|
"npm-run-all": "4.1.5",
|
81
|
-
"rimraf": "
|
82
|
-
"sass": "1.77.
|
81
|
+
"rimraf": "6.0.0",
|
82
|
+
"sass": "1.77.7",
|
83
83
|
"typescript": "5.5.3"
|
84
84
|
},
|
85
85
|
"peerDependencies": {
|
@@ -87,6 +87,7 @@ import {
|
|
87
87
|
} from '@finos/legend-application';
|
88
88
|
import { flowResult } from 'mobx';
|
89
89
|
import {
|
90
|
+
ExecutionPlanViewer,
|
90
91
|
QueryBuilderTextEditorMode,
|
91
92
|
type QueryBuilderState,
|
92
93
|
} from '@finos/legend-query-builder';
|
@@ -122,6 +123,11 @@ import {
|
|
122
123
|
type PackageableElementOption,
|
123
124
|
} from '@finos/legend-lego/graph-editor';
|
124
125
|
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../../__lib__/LegendStudioApplicationNavigationContext.js';
|
126
|
+
import {
|
127
|
+
TestExecutionPlanDebugState,
|
128
|
+
TestUnknownDebugState,
|
129
|
+
type TestableDebugTestResultState,
|
130
|
+
} from '../../../../stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js';
|
125
131
|
|
126
132
|
interface ClassSelectOption {
|
127
133
|
label: string;
|
@@ -685,8 +691,70 @@ const MappingTestSuiteQueryEditor = observer(
|
|
685
691
|
flowResult(testableQueryState.updateLamba(stub_RawLambda())),
|
686
692
|
);
|
687
693
|
|
694
|
+
// debug
|
695
|
+
const disableDebug = !testSuiteState.selectTestState;
|
696
|
+
const debugQuery = (): void => {
|
697
|
+
flowResult(testSuiteState.debug()).catch(
|
698
|
+
testSuiteState.editorStore.applicationStore.alertUnhandledError,
|
699
|
+
);
|
700
|
+
};
|
701
|
+
const debugState = testSuiteState.selectTestState?.debugTestResultState;
|
702
|
+
const renderDebug = (
|
703
|
+
val: TestableDebugTestResultState,
|
704
|
+
): React.ReactNode => {
|
705
|
+
const closeDebug = (): void =>
|
706
|
+
testSuiteState.selectTestState?.setDebugState(undefined);
|
707
|
+
if (val instanceof TestExecutionPlanDebugState) {
|
708
|
+
return (
|
709
|
+
<ExecutionPlanViewer executionPlanState={val.executionPlanState} />
|
710
|
+
);
|
711
|
+
}
|
712
|
+
if (val instanceof TestUnknownDebugState) {
|
713
|
+
return (
|
714
|
+
<Dialog
|
715
|
+
open={Boolean(debugState)}
|
716
|
+
onClose={closeDebug}
|
717
|
+
classes={{
|
718
|
+
root: 'editor-modal__root-container',
|
719
|
+
container: 'editor-modal__container',
|
720
|
+
paper: 'editor-modal__content',
|
721
|
+
}}
|
722
|
+
>
|
723
|
+
<Modal
|
724
|
+
className={clsx('editor-modal query-builder-text-mode__modal')}
|
725
|
+
>
|
726
|
+
<ModalHeader>
|
727
|
+
<div className="modal__title">{`Debug`}</div>
|
728
|
+
</ModalHeader>
|
729
|
+
<ModalBody>
|
730
|
+
<div
|
731
|
+
className={clsx('query-builder-text-mode__modal__content')}
|
732
|
+
>
|
733
|
+
<CodeEditor
|
734
|
+
language={CODE_EDITOR_LANGUAGE.JSON}
|
735
|
+
inputValue={JSON.stringify(val.testDebug.value)}
|
736
|
+
isReadOnly={true}
|
737
|
+
/>
|
738
|
+
</div>
|
739
|
+
</ModalBody>
|
740
|
+
<ModalFooter>
|
741
|
+
<ModalFooterButton onClick={closeDebug} type="primary">
|
742
|
+
Close
|
743
|
+
</ModalFooterButton>
|
744
|
+
</ModalFooter>
|
745
|
+
</Modal>
|
746
|
+
</Dialog>
|
747
|
+
);
|
748
|
+
}
|
749
|
+
return null;
|
750
|
+
};
|
688
751
|
return (
|
689
752
|
<div className="panel mapping-test-editor__query-panel">
|
753
|
+
<PanelLoadingIndicator
|
754
|
+
isLoading={Boolean(
|
755
|
+
testSuiteState.selectTestState?.debuggingTestAction.isInProgress,
|
756
|
+
)}
|
757
|
+
/>
|
690
758
|
<div className="panel__header">
|
691
759
|
<div className="panel__header__title">
|
692
760
|
<div className="panel__header__title__label">query</div>
|
@@ -730,6 +798,18 @@ const MappingTestSuiteQueryEditor = observer(
|
|
730
798
|
<CaretDownIcon />
|
731
799
|
</ControlledDropdownMenu>
|
732
800
|
</div>
|
801
|
+
<div className="btn__dropdown-combo btn__dropdown-combo--primary">
|
802
|
+
<button
|
803
|
+
className="btn__dropdown-combo__label"
|
804
|
+
onClick={debugQuery}
|
805
|
+
title="Debug Test With Exec Plan"
|
806
|
+
disabled={disableDebug}
|
807
|
+
tabIndex={-1}
|
808
|
+
>
|
809
|
+
<PlayIcon className="btn__dropdown-combo__label__icon" />
|
810
|
+
<div className="btn__dropdown-combo__label__title">Debug</div>
|
811
|
+
</button>
|
812
|
+
</div>
|
733
813
|
</div>
|
734
814
|
</div>
|
735
815
|
{!isStubbed_RawLambda(testableQueryState.query) && (
|
@@ -744,6 +824,7 @@ const MappingTestSuiteQueryEditor = observer(
|
|
744
824
|
</div>
|
745
825
|
</PanelContent>
|
746
826
|
)}
|
827
|
+
{debugState && renderDebug(debugState)}
|
747
828
|
</div>
|
748
829
|
);
|
749
830
|
},
|
package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts
CHANGED
@@ -55,6 +55,7 @@ import {
|
|
55
55
|
LogEvent,
|
56
56
|
uuid,
|
57
57
|
filterByType,
|
58
|
+
guaranteeNonNullable,
|
58
59
|
} from '@finos/legend-shared';
|
59
60
|
import { LambdaEditorState } from '@finos/legend-query-builder';
|
60
61
|
import { type MappingEditorState } from '../MappingEditorState.js';
|
@@ -236,11 +237,15 @@ export class MappingTestState extends TestableTestEditorState {
|
|
236
237
|
testResultState: observable,
|
237
238
|
runningTestAction: observable,
|
238
239
|
dataState: observable,
|
240
|
+
debugTestResultState: observable,
|
239
241
|
addAssertion: action,
|
240
242
|
setAssertionToRename: action,
|
241
243
|
handleTestResult: action,
|
244
|
+
buildTestDebugState: action,
|
245
|
+
setDebugState: action,
|
242
246
|
setSelectedTab: action,
|
243
247
|
runTest: flow,
|
248
|
+
debugTest: flow,
|
244
249
|
});
|
245
250
|
this.parentState = parentSuiteState;
|
246
251
|
this.mappingTestableState = parentSuiteState.mappingTestableState;
|
@@ -368,6 +373,7 @@ export class MappingTestSuiteState extends TestableTestSuiteEditorState {
|
|
368
373
|
createStoreTestData: action,
|
369
374
|
runSuite: flow,
|
370
375
|
runFailingTests: flow,
|
376
|
+
debug: flow,
|
371
377
|
});
|
372
378
|
this.mappingTestableState = mappingTestableState;
|
373
379
|
this.suite = suite;
|
@@ -450,6 +456,20 @@ export class MappingTestSuiteState extends TestableTestSuiteEditorState {
|
|
450
456
|
setShowModal(val: boolean): void {
|
451
457
|
this.showCreateModal = val;
|
452
458
|
}
|
459
|
+
|
460
|
+
*debug(): GeneratorFn<void> {
|
461
|
+
try {
|
462
|
+
const testState = guaranteeNonNullable(
|
463
|
+
this.selectTestState,
|
464
|
+
'Test Required to be selected to run debug',
|
465
|
+
);
|
466
|
+
flowResult(testState.debugTest()).catch(
|
467
|
+
this.editorStore.applicationStore.alertUnhandledError,
|
468
|
+
);
|
469
|
+
} catch (error) {
|
470
|
+
assertErrorThrown(error);
|
471
|
+
}
|
472
|
+
}
|
453
473
|
}
|
454
474
|
|
455
475
|
export class CreateSuiteState {
|
@@ -20,6 +20,9 @@ import {
|
|
20
20
|
type Testable,
|
21
21
|
type TestAssertion,
|
22
22
|
type TestResult,
|
23
|
+
type TestDebug,
|
24
|
+
UnknownTestDebug,
|
25
|
+
TestExecutionPlanDebug,
|
23
26
|
TestExecuted,
|
24
27
|
UniqueTestId,
|
25
28
|
RunTestsTestableInput,
|
@@ -56,6 +59,7 @@ import {
|
|
56
59
|
TEST_ASSERTION_TAB,
|
57
60
|
} from './TestAssertionState.js';
|
58
61
|
import type { ElementEditorState } from '../ElementEditorState.js';
|
62
|
+
import { ExecutionPlanState } from '@finos/legend-query-builder';
|
59
63
|
|
60
64
|
export class TestableTestResultState {
|
61
65
|
readonly editorStore: EditorStore;
|
@@ -77,6 +81,90 @@ export class TestableTestResultState {
|
|
77
81
|
}
|
78
82
|
}
|
79
83
|
|
84
|
+
export abstract class TestableDebugTestResultState {
|
85
|
+
readonly editorStore: EditorStore;
|
86
|
+
readonly testState: TestableTestEditorState;
|
87
|
+
testDebug: TestDebug | undefined;
|
88
|
+
|
89
|
+
constructor(testState: TestableTestEditorState, editorStore: EditorStore) {
|
90
|
+
this.editorStore = editorStore;
|
91
|
+
this.testState = testState;
|
92
|
+
}
|
93
|
+
|
94
|
+
abstract initialize(): TestableDebugTestResultState;
|
95
|
+
}
|
96
|
+
|
97
|
+
export class TestExecutionPlanDebugState extends TestableDebugTestResultState {
|
98
|
+
declare testDebug: TestExecutionPlanDebug;
|
99
|
+
executionPlanState: ExecutionPlanState;
|
100
|
+
|
101
|
+
constructor(
|
102
|
+
result: TestExecutionPlanDebug,
|
103
|
+
testState: TestableTestEditorState,
|
104
|
+
editorStore: EditorStore,
|
105
|
+
) {
|
106
|
+
super(testState, editorStore);
|
107
|
+
this.testDebug = result;
|
108
|
+
this.executionPlanState = new ExecutionPlanState(
|
109
|
+
this.editorStore.applicationStore,
|
110
|
+
this.editorStore.graphManagerState,
|
111
|
+
);
|
112
|
+
makeObservable(this, {
|
113
|
+
executionPlanState: observable,
|
114
|
+
initialize: action,
|
115
|
+
});
|
116
|
+
}
|
117
|
+
|
118
|
+
override initialize(): TestableDebugTestResultState {
|
119
|
+
try {
|
120
|
+
this.executionPlanState.setRawPlan(this.testDebug.executionPlan);
|
121
|
+
const rawPlan = this.testDebug.executionPlan;
|
122
|
+
if (rawPlan) {
|
123
|
+
const plan =
|
124
|
+
this.editorStore.graphManagerState.graphManager.buildExecutionPlan(
|
125
|
+
rawPlan,
|
126
|
+
this.editorStore.graphManagerState.graph,
|
127
|
+
);
|
128
|
+
this.executionPlanState.initialize(plan);
|
129
|
+
}
|
130
|
+
} catch {
|
131
|
+
// do nothing
|
132
|
+
}
|
133
|
+
const debug = this.testDebug.debug?.join('\n');
|
134
|
+
if (debug) {
|
135
|
+
this.executionPlanState.setDebugText(debug);
|
136
|
+
}
|
137
|
+
if (this.testDebug.error) {
|
138
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
139
|
+
`Error generating exec plan: ${this.testDebug.error}`,
|
140
|
+
);
|
141
|
+
}
|
142
|
+
return this;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
export class TestUnknownDebugState extends TestableDebugTestResultState {
|
147
|
+
declare testDebug: UnknownTestDebug;
|
148
|
+
executionPlanState: ExecutionPlanState;
|
149
|
+
|
150
|
+
constructor(
|
151
|
+
result: UnknownTestDebug,
|
152
|
+
testState: TestableTestEditorState,
|
153
|
+
editorStore: EditorStore,
|
154
|
+
) {
|
155
|
+
super(testState, editorStore);
|
156
|
+
this.testDebug = result;
|
157
|
+
this.executionPlanState = new ExecutionPlanState(
|
158
|
+
this.editorStore.applicationStore,
|
159
|
+
this.editorStore.graphManagerState,
|
160
|
+
);
|
161
|
+
}
|
162
|
+
|
163
|
+
override initialize(): TestableDebugTestResultState {
|
164
|
+
return this;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
80
168
|
export enum TESTABLE_TEST_TAB {
|
81
169
|
SETUP = 'SETUP',
|
82
170
|
ASSERTION = 'ASSERTION',
|
@@ -92,7 +180,9 @@ export abstract class TestableTestEditorState {
|
|
92
180
|
assertionToRename: TestAssertion | undefined;
|
93
181
|
runningTestAction = ActionState.create();
|
94
182
|
testResultState: TestableTestResultState;
|
183
|
+
debugTestResultState: TestableDebugTestResultState | undefined;
|
95
184
|
isReadOnly: boolean;
|
185
|
+
debuggingTestAction = ActionState.create();
|
96
186
|
|
97
187
|
constructor(
|
98
188
|
testable: Testable,
|
@@ -168,6 +258,26 @@ export abstract class TestableTestEditorState {
|
|
168
258
|
return result;
|
169
259
|
}
|
170
260
|
|
261
|
+
// Fetches test results. Caller of test should catch the error
|
262
|
+
async fetchDebugTestResult(): Promise<TestDebug> {
|
263
|
+
const input = new RunTestsTestableInput(this.testable);
|
264
|
+
const suite =
|
265
|
+
this.test.__parent instanceof TestSuite ? this.test.__parent : undefined;
|
266
|
+
input.unitTestIds.push(new UniqueTestId(suite, this.test));
|
267
|
+
const testResults =
|
268
|
+
await this.editorStore.graphManagerState.graphManager.debugTests(
|
269
|
+
[input],
|
270
|
+
this.editorStore.graphManagerState.graph,
|
271
|
+
);
|
272
|
+
const result = guaranteeNonNullable(testResults[0]);
|
273
|
+
assertTrue(
|
274
|
+
result.testable === this.testable &&
|
275
|
+
result.atomicTest.id === this.test.id,
|
276
|
+
'Unexpected test result',
|
277
|
+
);
|
278
|
+
return result;
|
279
|
+
}
|
280
|
+
|
171
281
|
resetResult(): void {
|
172
282
|
this.testResultState.setResult(undefined);
|
173
283
|
this.assertionEditorStates.forEach((assertionState) =>
|
@@ -239,6 +349,44 @@ export abstract class TestableTestEditorState {
|
|
239
349
|
this.runningTestAction.fail();
|
240
350
|
}
|
241
351
|
}
|
352
|
+
|
353
|
+
*debugTest(): GeneratorFn<void> {
|
354
|
+
try {
|
355
|
+
this.setDebugState(undefined);
|
356
|
+
this.debuggingTestAction.inProgress();
|
357
|
+
const result = (yield flowResult(
|
358
|
+
this.fetchDebugTestResult(),
|
359
|
+
)) as TestDebug;
|
360
|
+
const debugState = guaranteeNonNullable(
|
361
|
+
this.buildTestDebugState(result),
|
362
|
+
`can't build debug state for test: ${result.atomicTest.id}`,
|
363
|
+
);
|
364
|
+
this.setDebugState(debugState.initialize());
|
365
|
+
this.debuggingTestAction.complete();
|
366
|
+
} catch (error) {
|
367
|
+
assertErrorThrown(error);
|
368
|
+
this.debugTestResultState = undefined;
|
369
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
370
|
+
`Error running test: ${error.message}`,
|
371
|
+
);
|
372
|
+
this.debuggingTestAction.fail();
|
373
|
+
}
|
374
|
+
}
|
375
|
+
|
376
|
+
setDebugState(val: TestableDebugTestResultState | undefined): void {
|
377
|
+
this.debugTestResultState = val;
|
378
|
+
}
|
379
|
+
|
380
|
+
buildTestDebugState(
|
381
|
+
testDebug: TestDebug,
|
382
|
+
): TestableDebugTestResultState | undefined {
|
383
|
+
if (testDebug instanceof TestExecutionPlanDebug) {
|
384
|
+
return new TestExecutionPlanDebugState(testDebug, this, this.editorStore);
|
385
|
+
} else if (testDebug instanceof UnknownTestDebug) {
|
386
|
+
return new TestUnknownDebugState(testDebug, this, this.editorStore);
|
387
|
+
}
|
388
|
+
return undefined;
|
389
|
+
}
|
242
390
|
}
|
243
391
|
|
244
392
|
export abstract class TestableTestSuiteEditorState {
|
@@ -26,6 +26,7 @@ import {
|
|
26
26
|
UnsupportedOperationError,
|
27
27
|
guaranteeNonNullable,
|
28
28
|
guaranteeType,
|
29
|
+
exactSearch,
|
29
30
|
} from '@finos/legend-shared';
|
30
31
|
import { generateSetupRoute } from '../../__lib__/LegendStudioNavigation.js';
|
31
32
|
import {
|
@@ -347,7 +348,9 @@ export class WorkspaceSetupStore {
|
|
347
348
|
this.projects = (
|
348
349
|
(yield this.sdlcServerClient.getProjects(
|
349
350
|
undefined,
|
350
|
-
|
351
|
+
// We apply an exact search on the input text because we show exact searches with
|
352
|
+
// custom selector. This avoids losing some results with the additional filtering.
|
353
|
+
isValidSearchString ? exactSearch(searchText) : undefined,
|
351
354
|
undefined,
|
352
355
|
DEFAULT_TYPEAHEAD_SEARCH_LIMIT,
|
353
356
|
)) as PlainObject<Project>[]
|