@gravitee/ui-policy-studio-angular 9.6.0-angular-16-c8d84dc → 9.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2022 → esm2020}/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flow-details/gio-ps-flow-details.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/components/step-form/gio-ps-step-form.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/gio-policy-studio.component.mjs +4 -4
- package/{esm2022 → esm2020}/lib/gio-policy-studio.module.mjs +53 -53
- package/{esm2022 → esm2020}/lib/gio-policy-studio.service.mjs +4 -4
- package/esm2020/testing/lib/components/flow-details/gio-ps-flow-details.harness.mjs +41 -0
- package/esm2020/testing/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.harness.mjs +35 -0
- package/esm2020/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.mjs +126 -0
- package/esm2020/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.mjs +50 -0
- package/esm2020/testing/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.harness.mjs +60 -0
- package/esm2020/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.mjs +128 -0
- package/esm2020/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.mjs +98 -0
- package/esm2020/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +71 -0
- package/esm2020/testing/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.harness.mjs +87 -0
- package/{esm2022 → esm2020}/testing/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.harness.mjs +2 -2
- package/esm2020/testing/lib/components/step-form/gio-ps-step-form.harness.mjs +49 -0
- package/esm2020/testing/lib/gio-policy-studio.harness.mjs +161 -0
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +1443 -0
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -0
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +1645 -0
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/gravitee-ui-policy-studio-angular-testing.mjs +12 -12
- package/{fesm2022 → fesm2020}/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/gravitee-ui-policy-studio-angular.mjs +94 -94
- package/{fesm2022 → fesm2020}/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +1 -1
- package/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.d.ts +1 -1
- package/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.d.ts +1 -1
- package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts +1 -1
- package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +1 -1
- package/lib/components/step-form/gio-ps-step-form.component.d.ts +1 -1
- package/lib/gio-policy-studio.component.d.ts +1 -1
- package/package.json +22 -14
- package/esm2022/testing/lib/components/flow-details/gio-ps-flow-details.harness.mjs +0 -41
- package/esm2022/testing/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.harness.mjs +0 -35
- package/esm2022/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.mjs +0 -126
- package/esm2022/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.mjs +0 -50
- package/esm2022/testing/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.harness.mjs +0 -60
- package/esm2022/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.mjs +0 -128
- package/esm2022/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.mjs +0 -98
- package/esm2022/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +0 -71
- package/esm2022/testing/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.harness.mjs +0 -87
- package/esm2022/testing/lib/components/step-form/gio-ps-step-form.harness.mjs +0 -49
- package/esm2022/testing/lib/gio-policy-studio.harness.mjs +0 -161
- /package/{esm2022 → esm2020}/gravitee-ui-policy-studio-angular.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/flow-form-dialog/gio-ps-flow-form-dialog-result.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/gio-policy-studio.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/ConnectorsInfo.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/PolicySchemaFetcher.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/SaveOutput.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/flow/ApiType.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/flow/Flow.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/flow/FlowExecution.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/flow/HttpMethod.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/flow/Selector.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/flow/Step.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/flow/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/plan/Plan.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/plan/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/policy/Policy.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/models/policy/index.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/gravitee-ui-policy-studio-angular-testing.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/ConnectorsInfo.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/ConnectorsInfo.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/PolicySchemaFetcher.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/SaveOutput.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/ApiType.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/Flow.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/Flow.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/FlowExecution.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/FlowExecution.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/HttpMethod.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/Selector.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/Step.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/Step.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/index-testing.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/flow/index.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/index-testing.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/plan/Plan.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/plan/Plan.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/plan/index-testing.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/plan/index.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/policy/Policy.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/policy/Policy.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/policy/index-testing.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/lib/models/policy/index.mjs +0 -0
- /package/{esm2022 → esm2020}/testing/public-testing-api.mjs +0 -0
|
@@ -653,7 +653,6 @@ class GioPolicyStudioFlowsMenuHarness extends ComponentHarness {
|
|
|
653
653
|
this.locateGroupByText = (text) => this.locatorForOptional(DivHarness.with({ selector: '.list__flowsGroup', text }));
|
|
654
654
|
this.locateSelectedFlow = this.locatorForOptional(DivHarness.with({ selector: '.list__flowsGroup__flow.selected' }));
|
|
655
655
|
}
|
|
656
|
-
static { this.hostSelector = 'gio-ps-flows-menu'; }
|
|
657
656
|
async getAllFlowsGroups() {
|
|
658
657
|
const flowsGroups = await this.locateFlowsGroups();
|
|
659
658
|
return parallel(() => flowsGroups.map(async (flowsGroup) => {
|
|
@@ -696,6 +695,7 @@ class GioPolicyStudioFlowsMenuHarness extends ComponentHarness {
|
|
|
696
695
|
await (await this.locatorFor(MatButtonHarness.with({ selector: '.header__configBtn_edit' }))())?.click();
|
|
697
696
|
}
|
|
698
697
|
}
|
|
698
|
+
GioPolicyStudioFlowsMenuHarness.hostSelector = 'gio-ps-flows-menu';
|
|
699
699
|
|
|
700
700
|
/*
|
|
701
701
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -713,7 +713,6 @@ class GioPolicyStudioFlowsMenuHarness extends ComponentHarness {
|
|
|
713
713
|
* limitations under the License.
|
|
714
714
|
*/
|
|
715
715
|
class GioPolicyStudioDetailsInfoBarHarness extends ComponentHarness {
|
|
716
|
-
static { this.hostSelector = 'gio-ps-flow-details-info-bar'; }
|
|
717
716
|
async getInfos() {
|
|
718
717
|
const infosDiv = await this.locatorForAll(DivHarness.with({ selector: '.info' }))();
|
|
719
718
|
const allKeyValue = await parallel(() => infosDiv.map(async (info) => {
|
|
@@ -729,6 +728,7 @@ class GioPolicyStudioDetailsInfoBarHarness extends ComponentHarness {
|
|
|
729
728
|
}, {});
|
|
730
729
|
}
|
|
731
730
|
}
|
|
731
|
+
GioPolicyStudioDetailsInfoBarHarness.hostSelector = 'gio-ps-flow-details-info-bar';
|
|
732
732
|
|
|
733
733
|
/*
|
|
734
734
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -746,7 +746,6 @@ class GioPolicyStudioDetailsInfoBarHarness extends ComponentHarness {
|
|
|
746
746
|
* limitations under the License.
|
|
747
747
|
*/
|
|
748
748
|
class GioPolicyStudioDetailsHarness extends ComponentHarness {
|
|
749
|
-
static { this.hostSelector = 'gio-ps-flow-details'; }
|
|
750
749
|
async isDisplayEmptyFlow() {
|
|
751
750
|
const hostText = await (await this.host()).text();
|
|
752
751
|
return hostText.includes('No flows yet');
|
|
@@ -767,6 +766,7 @@ class GioPolicyStudioDetailsHarness extends ComponentHarness {
|
|
|
767
766
|
await deleteFlowBtn.click();
|
|
768
767
|
}
|
|
769
768
|
}
|
|
769
|
+
GioPolicyStudioDetailsHarness.hostSelector = 'gio-ps-flow-details';
|
|
770
770
|
|
|
771
771
|
/*
|
|
772
772
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -794,7 +794,6 @@ class GioPolicyStudioFlowProxyFormDialogHarness extends ComponentHarness {
|
|
|
794
794
|
this.methodsInput = this.locatorFor(GioFormTagsInputHarness.with({ selector: '[formControlName="methods"]' }));
|
|
795
795
|
this.conditionInput = this.locatorFor(MatInputHarness.with({ selector: '[formControlName="condition"]' }));
|
|
796
796
|
}
|
|
797
|
-
static { this.hostSelector = 'gio-ps-flow-proxy-form-dialog'; }
|
|
798
797
|
async setFlowFormValues(flow) {
|
|
799
798
|
if (flow.name) {
|
|
800
799
|
const nameInput = await this.nameInput();
|
|
@@ -860,6 +859,7 @@ class GioPolicyStudioFlowProxyFormDialogHarness extends ComponentHarness {
|
|
|
860
859
|
await button.click();
|
|
861
860
|
}
|
|
862
861
|
}
|
|
862
|
+
GioPolicyStudioFlowProxyFormDialogHarness.hostSelector = 'gio-ps-flow-proxy-form-dialog';
|
|
863
863
|
|
|
864
864
|
/*
|
|
865
865
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -888,7 +888,6 @@ class GioPolicyStudioFlowMessageFormDialogHarness extends ComponentHarness {
|
|
|
888
888
|
this.entrypointsInput = this.locatorFor(MatSelectHarness.with({ selector: '[formControlName="entrypoints"]' }));
|
|
889
889
|
this.conditionInput = this.locatorFor(MatInputHarness.with({ selector: '[formControlName="condition"]' }));
|
|
890
890
|
}
|
|
891
|
-
static { this.hostSelector = 'gio-ps-flow-message-form-dialog'; }
|
|
892
891
|
async setFlowFormValues(flow) {
|
|
893
892
|
if (flow.name) {
|
|
894
893
|
const nameInput = await this.nameInput();
|
|
@@ -984,6 +983,7 @@ class GioPolicyStudioFlowMessageFormDialogHarness extends ComponentHarness {
|
|
|
984
983
|
};
|
|
985
984
|
}
|
|
986
985
|
}
|
|
986
|
+
GioPolicyStudioFlowMessageFormDialogHarness.hostSelector = 'gio-ps-flow-message-form-dialog';
|
|
987
987
|
|
|
988
988
|
/*
|
|
989
989
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1006,7 +1006,6 @@ class GioPolicyStudioFlowExecutionFormDialogHarness extends ComponentHarness {
|
|
|
1006
1006
|
this.getSaveBtn = this.locatorFor(MatButtonHarness.with({ selector: '.actions__saveBtn' }));
|
|
1007
1007
|
this.getCancelBtn = this.locatorFor(MatButtonHarness.with({ selector: '.actions__cancelBtn' }));
|
|
1008
1008
|
}
|
|
1009
|
-
static { this.hostSelector = 'gio-ps-flow-execution-form-dialog'; }
|
|
1010
1009
|
async setFlowFormValues(flowExecution) {
|
|
1011
1010
|
const modeInput = await this.locatorFor(MatSelectHarness.with({ selector: '[formControlName="mode"]' }))();
|
|
1012
1011
|
const matchRequiredInput = await this.locatorFor(MatSlideToggleHarness.with({ selector: '[formControlName="matchRequired"]' }))();
|
|
@@ -1040,6 +1039,7 @@ class GioPolicyStudioFlowExecutionFormDialogHarness extends ComponentHarness {
|
|
|
1040
1039
|
await button.click();
|
|
1041
1040
|
}
|
|
1042
1041
|
}
|
|
1042
|
+
GioPolicyStudioFlowExecutionFormDialogHarness.hostSelector = 'gio-ps-flow-execution-form-dialog';
|
|
1043
1043
|
|
|
1044
1044
|
/*
|
|
1045
1045
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1057,7 +1057,6 @@ class GioPolicyStudioFlowExecutionFormDialogHarness extends ComponentHarness {
|
|
|
1057
1057
|
* limitations under the License.
|
|
1058
1058
|
*/
|
|
1059
1059
|
class GioPolicyStudioDetailsPhaseStepHarness extends ComponentHarness {
|
|
1060
|
-
static { this.hostSelector = 'gio-ps-flow-details-phase-step'; }
|
|
1061
1060
|
/**
|
|
1062
1061
|
* Get Harness with the given filter.
|
|
1063
1062
|
*
|
|
@@ -1086,6 +1085,7 @@ class GioPolicyStudioDetailsPhaseStepHarness extends ComponentHarness {
|
|
|
1086
1085
|
await matMenu.clickItem({ text: /Disable|Enable/ });
|
|
1087
1086
|
}
|
|
1088
1087
|
}
|
|
1088
|
+
GioPolicyStudioDetailsPhaseStepHarness.hostSelector = 'gio-ps-flow-details-phase-step';
|
|
1089
1089
|
|
|
1090
1090
|
/*
|
|
1091
1091
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1108,7 +1108,6 @@ class GioPolicyStudioStepFormHarness extends ComponentHarness {
|
|
|
1108
1108
|
this.getDescriptionInput = this.locatorFor(MatInputHarness.with({ selector: '[formControlName="description"]' }));
|
|
1109
1109
|
this.getConditionInput = this.locatorFor(MatInputHarness.with({ selector: '[formControlName="condition"]' }));
|
|
1110
1110
|
}
|
|
1111
|
-
static { this.hostSelector = 'gio-ps-step-form'; }
|
|
1112
1111
|
async setStepForm(stepForm) {
|
|
1113
1112
|
if (stepForm.description) {
|
|
1114
1113
|
const descriptionInput = await this.getDescriptionInput();
|
|
@@ -1133,6 +1132,7 @@ class GioPolicyStudioStepFormHarness extends ComponentHarness {
|
|
|
1133
1132
|
return documentation.getAttribute('ng-reflect-content');
|
|
1134
1133
|
}
|
|
1135
1134
|
}
|
|
1135
|
+
GioPolicyStudioStepFormHarness.hostSelector = 'gio-ps-step-form';
|
|
1136
1136
|
|
|
1137
1137
|
/*
|
|
1138
1138
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1150,7 +1150,6 @@ class GioPolicyStudioStepFormHarness extends ComponentHarness {
|
|
|
1150
1150
|
* limitations under the License.
|
|
1151
1151
|
*/
|
|
1152
1152
|
class GioPolicyStudioStepEditDialogHarness extends ComponentHarness {
|
|
1153
|
-
static { this.hostSelector = 'gio-ps-step-edit-dialog'; }
|
|
1154
1153
|
async getPolicyName() {
|
|
1155
1154
|
return (await this.locatorFor('.title__name')()).text();
|
|
1156
1155
|
}
|
|
@@ -1161,6 +1160,7 @@ class GioPolicyStudioStepEditDialogHarness extends ComponentHarness {
|
|
|
1161
1160
|
return (await this.locatorFor('.actions__saveBtn')()).click();
|
|
1162
1161
|
}
|
|
1163
1162
|
}
|
|
1163
|
+
GioPolicyStudioStepEditDialogHarness.hostSelector = 'gio-ps-step-edit-dialog';
|
|
1164
1164
|
|
|
1165
1165
|
/*
|
|
1166
1166
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1183,7 +1183,6 @@ class GioPolicyStudioPoliciesCatalogDialogHarness extends ComponentHarness {
|
|
|
1183
1183
|
this.policiesLocator = this.locatorForAll(DivHarness.with({ selector: '.policiesCatalog__list__policy' }));
|
|
1184
1184
|
this.getCategoriesFilter = this.locatorForOptional(MatChipListboxHarness.with({ selector: '[formControlName="categories"]' }));
|
|
1185
1185
|
}
|
|
1186
|
-
static { this.hostSelector = 'gio-ps-policies-catalog-dialog'; }
|
|
1187
1186
|
async getPhase() {
|
|
1188
1187
|
const phase = await this.locatorFor('.title__phase')();
|
|
1189
1188
|
return phase.text();
|
|
@@ -1242,6 +1241,7 @@ class GioPolicyStudioPoliciesCatalogDialogHarness extends ComponentHarness {
|
|
|
1242
1241
|
}
|
|
1243
1242
|
}
|
|
1244
1243
|
}
|
|
1244
|
+
GioPolicyStudioPoliciesCatalogDialogHarness.hostSelector = 'gio-ps-policies-catalog-dialog';
|
|
1245
1245
|
|
|
1246
1246
|
/*
|
|
1247
1247
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1269,7 +1269,6 @@ class GioPolicyStudioDetailsPhaseHarness extends ComponentHarness {
|
|
|
1269
1269
|
super(...arguments);
|
|
1270
1270
|
this.getHeaderName = () => this.locatorForOptional(SpanHarness.with({ selector: '.header__name' }))().then(async (span) => span?.getText() ?? null);
|
|
1271
1271
|
}
|
|
1272
|
-
static { this.hostSelector = 'gio-ps-flow-details-phase'; }
|
|
1273
1272
|
/**
|
|
1274
1273
|
* Get Harness with the given filter.
|
|
1275
1274
|
*
|
|
@@ -1361,6 +1360,7 @@ class GioPolicyStudioDetailsPhaseHarness extends ComponentHarness {
|
|
|
1361
1360
|
await step.clickOnDisableEnable();
|
|
1362
1361
|
}
|
|
1363
1362
|
}
|
|
1363
|
+
GioPolicyStudioDetailsPhaseHarness.hostSelector = 'gio-ps-flow-details-phase';
|
|
1364
1364
|
|
|
1365
1365
|
/*
|
|
1366
1366
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
@@ -1384,7 +1384,6 @@ class GioPolicyStudioHarness extends ComponentHarness {
|
|
|
1384
1384
|
this.detailsHarness = this.locatorFor(GioPolicyStudioDetailsHarness);
|
|
1385
1385
|
this.phaseHarness = (phaseType) => this.locatorFor(GioPolicyStudioDetailsPhaseHarness.with({ type: phaseType }))();
|
|
1386
1386
|
}
|
|
1387
|
-
static { this.hostSelector = 'gio-policy-studio'; }
|
|
1388
1387
|
/**
|
|
1389
1388
|
* Add a flow to a plan or to "Common flows"
|
|
1390
1389
|
*
|
|
@@ -1513,6 +1512,7 @@ class GioPolicyStudioHarness extends ComponentHarness {
|
|
|
1513
1512
|
await flowExecutionDialog.save();
|
|
1514
1513
|
}
|
|
1515
1514
|
}
|
|
1515
|
+
GioPolicyStudioHarness.hostSelector = 'gio-policy-studio';
|
|
1516
1516
|
|
|
1517
1517
|
/*
|
|
1518
1518
|
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|