@gravitee/ui-policy-studio-angular 7.51.1 → 7.52.0-angular15-d8f3fbd
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/esm2020/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.mjs +3 -3
- package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +14 -14
- package/esm2020/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +7 -7
- package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +13 -13
- package/esm2020/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.mjs +11 -11
- package/esm2020/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.mjs +20 -20
- package/esm2020/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +23 -23
- package/esm2020/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.mjs +23 -23
- package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +12 -12
- package/esm2020/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.mjs +22 -22
- package/esm2020/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.mjs +12 -12
- package/esm2020/lib/components/step-form/gio-ps-step-form.component.mjs +15 -15
- package/esm2020/lib/gio-policy-studio.component.mjs +9 -9
- package/esm2020/lib/gio-policy-studio.module.mjs +33 -35
- package/esm2020/lib/gio-policy-studio.service.mjs +1 -1
- package/esm2020/testing/lib/components/flow-details/gio-ps-flow-details.harness.mjs +2 -2
- package/esm2020/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.mjs +2 -2
- package/esm2020/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.mjs +2 -2
- package/esm2020/testing/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +2 -2
- package/esm2020/testing/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/step-form/gio-ps-step-form.harness.mjs +2 -2
- package/esm2020/testing/lib/gio-policy-studio.harness.mjs +3 -3
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +43 -43
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +155 -154
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +43 -43
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs +155 -154
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.d.ts +1 -1
- package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +2 -2
- 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 +3 -3
- package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts +2 -2
- package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.d.ts +5 -5
- package/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.d.ts +5 -5
- package/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.d.ts +6 -6
- package/lib/components/flow-form-dialog/gio-ps-flow-form-dialog-result.model.d.ts +1 -1
- package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +2 -2
- package/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.d.ts +8 -8
- package/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.d.ts +4 -4
- package/lib/components/step-form/gio-ps-step-form.component.d.ts +3 -3
- package/lib/gio-policy-studio.component.d.ts +1 -1
- package/lib/gio-policy-studio.module.d.ts +11 -11
- package/lib/models/ConnectorsInfo.d.ts +1 -1
- package/lib/models/PolicySchemaFetcher.d.ts +2 -2
- package/lib/models/SaveOutput.d.ts +1 -1
- package/lib/models/flow/ApiType.d.ts +1 -1
- package/lib/models/flow/FlowExecution.d.ts +1 -1
- package/lib/models/flow/HttpMethod.d.ts +1 -1
- package/lib/models/flow/Selector.d.ts +4 -4
- package/lib/models/policy/Policy.d.ts +1 -1
- package/package.json +11 -11
- package/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.d.ts +3 -3
- package/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.d.ts +1 -1
- package/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.d.ts +1 -1
- package/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.d.ts +1 -1
- package/testing/lib/components/step-form/gio-ps-step-form.harness.d.ts +1 -1
- package/testing/lib/models/ConnectorsInfo.d.ts +1 -1
- package/testing/lib/models/PolicySchemaFetcher.d.ts +2 -2
- package/testing/lib/models/SaveOutput.d.ts +1 -1
- package/testing/lib/models/flow/ApiType.d.ts +1 -1
- package/testing/lib/models/flow/FlowExecution.d.ts +1 -1
- package/testing/lib/models/flow/HttpMethod.d.ts +1 -1
- package/testing/lib/models/flow/Selector.d.ts +4 -4
- package/testing/lib/models/policy/Policy.d.ts +1 -1
- package/testing/package.json +0 -10
- /package/{gravitee-ui-policy-studio-angular.d.ts → index.d.ts} +0 -0
- /package/testing/{gravitee-ui-policy-studio-angular-testing.d.ts → index.d.ts} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { isFunction, isEmpty } from 'lodash';
|
|
2
2
|
import { ComponentHarness, parallel, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { MatLegacyButtonHarness } from '@angular/material/legacy-button/testing';
|
|
4
|
+
import { MatLegacyTabGroupHarness } from '@angular/material/legacy-tabs/testing';
|
|
5
5
|
import { MatIconHarness } from '@angular/material/icon/testing';
|
|
6
6
|
import { DivHarness, SpanHarness } from '@gravitee/ui-particles-angular/testing';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { MatLegacyInputHarness } from '@angular/material/legacy-input/testing';
|
|
8
|
+
import { MatLegacySelectHarness } from '@angular/material/legacy-select/testing';
|
|
9
9
|
import { GioFormTagsInputHarness } from '@gravitee/ui-particles-angular';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { MatLegacySlideToggleHarness } from '@angular/material/legacy-slide-toggle/testing';
|
|
11
|
+
import { MatLegacyMenuHarness } from '@angular/material/legacy-menu/testing';
|
|
12
|
+
import { MatLegacyChipListboxHarness } from '@angular/material/legacy-chips/testing';
|
|
13
13
|
|
|
14
14
|
/*
|
|
15
15
|
* Copyright (C) 2023 The Gravitee team (http://gravitee.io)
|
|
@@ -688,11 +688,11 @@ class GioPolicyStudioFlowsMenuHarness extends ComponentHarness {
|
|
|
688
688
|
async addFlow(groupName) {
|
|
689
689
|
const flowsGroups = await this.locateGroupByText(groupName)();
|
|
690
690
|
if (flowsGroups) {
|
|
691
|
-
await (await flowsGroups.childLocatorFor(
|
|
691
|
+
await (await flowsGroups.childLocatorFor(MatLegacyButtonHarness.with({ ancestor: '.list__flowsGroup__header__addBtn' }))()).click();
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
async openFlowExecutionConfig() {
|
|
695
|
-
await (await this.locatorFor(
|
|
695
|
+
await (await this.locatorFor(MatLegacyButtonHarness.with({ selector: '.header__configBtn_edit' }))())?.click();
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
698
|
GioPolicyStudioFlowsMenuHarness.hostSelector = 'gio-ps-flows-menu';
|
|
@@ -758,11 +758,11 @@ class GioPolicyStudioDetailsHarness extends ComponentHarness {
|
|
|
758
758
|
return matcher.test(hostText);
|
|
759
759
|
}
|
|
760
760
|
async clickEditFlowBtn() {
|
|
761
|
-
const editFlowBtn = await this.locatorFor(
|
|
761
|
+
const editFlowBtn = await this.locatorFor(MatLegacyButtonHarness.with({ selector: '.header__configBtn__edit' }))();
|
|
762
762
|
await editFlowBtn.click();
|
|
763
763
|
}
|
|
764
764
|
async clickDeleteFlowBtn() {
|
|
765
|
-
const deleteFlowBtn = await this.locatorFor(
|
|
765
|
+
const deleteFlowBtn = await this.locatorFor(MatLegacyButtonHarness.with({ selector: '.header__configBtn__delete' }))();
|
|
766
766
|
await deleteFlowBtn.click();
|
|
767
767
|
}
|
|
768
768
|
}
|
|
@@ -786,13 +786,13 @@ GioPolicyStudioDetailsHarness.hostSelector = 'gio-ps-flow-details';
|
|
|
786
786
|
class GioPolicyStudioFlowProxyFormDialogHarness extends ComponentHarness {
|
|
787
787
|
constructor() {
|
|
788
788
|
super(...arguments);
|
|
789
|
-
this.getSaveBtn = this.locatorFor(
|
|
790
|
-
this.getCancelBtn = this.locatorFor(
|
|
791
|
-
this.nameInput = this.locatorFor(
|
|
792
|
-
this.pathOperatorInput = this.locatorFor(
|
|
793
|
-
this.pathInput = this.locatorFor(
|
|
789
|
+
this.getSaveBtn = this.locatorFor(MatLegacyButtonHarness.with({ selector: '.actions__saveBtn' }));
|
|
790
|
+
this.getCancelBtn = this.locatorFor(MatLegacyButtonHarness.with({ selector: '.actions__cancelBtn' }));
|
|
791
|
+
this.nameInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="name"]' }));
|
|
792
|
+
this.pathOperatorInput = this.locatorFor(MatLegacySelectHarness.with({ selector: '[formControlName="pathOperator"]' }));
|
|
793
|
+
this.pathInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="path"]' }));
|
|
794
794
|
this.methodsInput = this.locatorFor(GioFormTagsInputHarness.with({ selector: '[formControlName="methods"]' }));
|
|
795
|
-
this.conditionInput = this.locatorFor(
|
|
795
|
+
this.conditionInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="condition"]' }));
|
|
796
796
|
}
|
|
797
797
|
async setFlowFormValues(flow) {
|
|
798
798
|
if (flow.name) {
|
|
@@ -879,14 +879,14 @@ GioPolicyStudioFlowProxyFormDialogHarness.hostSelector = 'gio-ps-flow-proxy-form
|
|
|
879
879
|
class GioPolicyStudioFlowMessageFormDialogHarness extends ComponentHarness {
|
|
880
880
|
constructor() {
|
|
881
881
|
super(...arguments);
|
|
882
|
-
this.getSaveBtn = this.locatorFor(
|
|
883
|
-
this.getCancelBtn = this.locatorFor(
|
|
884
|
-
this.nameInput = this.locatorFor(
|
|
885
|
-
this.channelOperatorInput = this.locatorFor(
|
|
886
|
-
this.channelInput = this.locatorFor(
|
|
887
|
-
this.operationsInput = this.locatorFor(
|
|
888
|
-
this.entrypointsInput = this.locatorFor(
|
|
889
|
-
this.conditionInput = this.locatorFor(
|
|
882
|
+
this.getSaveBtn = this.locatorFor(MatLegacyButtonHarness.with({ selector: '.actions__saveBtn' }));
|
|
883
|
+
this.getCancelBtn = this.locatorFor(MatLegacyButtonHarness.with({ selector: '.actions__cancelBtn' }));
|
|
884
|
+
this.nameInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="name"]' }));
|
|
885
|
+
this.channelOperatorInput = this.locatorFor(MatLegacySelectHarness.with({ selector: '[formControlName="channelOperator"]' }));
|
|
886
|
+
this.channelInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="channel"]' }));
|
|
887
|
+
this.operationsInput = this.locatorFor(MatLegacySelectHarness.with({ selector: '[formControlName="operations"]' }));
|
|
888
|
+
this.entrypointsInput = this.locatorFor(MatLegacySelectHarness.with({ selector: '[formControlName="entrypoints"]' }));
|
|
889
|
+
this.conditionInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="condition"]' }));
|
|
890
890
|
}
|
|
891
891
|
async setFlowFormValues(flow) {
|
|
892
892
|
if (flow.name) {
|
|
@@ -1003,12 +1003,12 @@ GioPolicyStudioFlowMessageFormDialogHarness.hostSelector = 'gio-ps-flow-message-
|
|
|
1003
1003
|
class GioPolicyStudioFlowExecutionFormDialogHarness extends ComponentHarness {
|
|
1004
1004
|
constructor() {
|
|
1005
1005
|
super(...arguments);
|
|
1006
|
-
this.getSaveBtn = this.locatorFor(
|
|
1007
|
-
this.getCancelBtn = this.locatorFor(
|
|
1006
|
+
this.getSaveBtn = this.locatorFor(MatLegacyButtonHarness.with({ selector: '.actions__saveBtn' }));
|
|
1007
|
+
this.getCancelBtn = this.locatorFor(MatLegacyButtonHarness.with({ selector: '.actions__cancelBtn' }));
|
|
1008
1008
|
}
|
|
1009
1009
|
async setFlowFormValues(flowExecution) {
|
|
1010
|
-
const modeInput = await this.locatorFor(
|
|
1011
|
-
const matchRequiredInput = await this.locatorFor(
|
|
1010
|
+
const modeInput = await this.locatorFor(MatLegacySelectHarness.with({ selector: '[formControlName="mode"]' }))();
|
|
1011
|
+
const matchRequiredInput = await this.locatorFor(MatLegacySlideToggleHarness.with({ selector: '[formControlName="matchRequired"]' }))();
|
|
1012
1012
|
if (flowExecution.mode) {
|
|
1013
1013
|
await modeInput.open();
|
|
1014
1014
|
// Unselect all options before selecting the new one
|
|
@@ -1073,15 +1073,15 @@ class GioPolicyStudioDetailsPhaseStepHarness extends ComponentHarness {
|
|
|
1073
1073
|
return (await (await this.locatorForOptional(DivHarness.with({ selector: '.info__description' }))())?.getText()) ?? undefined;
|
|
1074
1074
|
}
|
|
1075
1075
|
async clickOnEdit() {
|
|
1076
|
-
const matMenu = await this.locatorFor(
|
|
1076
|
+
const matMenu = await this.locatorFor(MatLegacyMenuHarness)();
|
|
1077
1077
|
await matMenu.clickItem({ text: 'Edit' });
|
|
1078
1078
|
}
|
|
1079
1079
|
async clickOnDelete() {
|
|
1080
|
-
const matMenu = await this.locatorFor(
|
|
1080
|
+
const matMenu = await this.locatorFor(MatLegacyMenuHarness)();
|
|
1081
1081
|
await matMenu.clickItem({ text: 'Delete' });
|
|
1082
1082
|
}
|
|
1083
1083
|
async clickOnDisableEnable() {
|
|
1084
|
-
const matMenu = await this.locatorFor(
|
|
1084
|
+
const matMenu = await this.locatorFor(MatLegacyMenuHarness)();
|
|
1085
1085
|
await matMenu.clickItem({ text: /Disable|Enable/ });
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
@@ -1105,8 +1105,8 @@ GioPolicyStudioDetailsPhaseStepHarness.hostSelector = 'gio-ps-flow-details-phase
|
|
|
1105
1105
|
class GioPolicyStudioStepFormHarness extends ComponentHarness {
|
|
1106
1106
|
constructor() {
|
|
1107
1107
|
super(...arguments);
|
|
1108
|
-
this.getDescriptionInput = this.locatorFor(
|
|
1109
|
-
this.getConditionInput = this.locatorFor(
|
|
1108
|
+
this.getDescriptionInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="description"]' }));
|
|
1109
|
+
this.getConditionInput = this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="condition"]' }));
|
|
1110
1110
|
}
|
|
1111
1111
|
async setStepForm(stepForm) {
|
|
1112
1112
|
if (stepForm.description) {
|
|
@@ -1181,7 +1181,7 @@ class GioPolicyStudioPoliciesCatalogDialogHarness extends ComponentHarness {
|
|
|
1181
1181
|
constructor() {
|
|
1182
1182
|
super(...arguments);
|
|
1183
1183
|
this.policiesLocator = this.locatorForAll(DivHarness.with({ selector: '.policiesCatalog__list__policy' }));
|
|
1184
|
-
this.getCategoriesFilter = this.locatorForOptional(
|
|
1184
|
+
this.getCategoriesFilter = this.locatorForOptional(MatLegacyChipListboxHarness.with({ selector: '[formControlName="categories"]' }));
|
|
1185
1185
|
}
|
|
1186
1186
|
async getPhase() {
|
|
1187
1187
|
const phase = await this.locatorFor('.title__phase')();
|
|
@@ -1196,7 +1196,7 @@ class GioPolicyStudioPoliciesCatalogDialogHarness extends ComponentHarness {
|
|
|
1196
1196
|
for (const policy of policies) {
|
|
1197
1197
|
const name = await policy.getText({ childSelector: '.policiesCatalog__list__policy__head__name' });
|
|
1198
1198
|
if (name === policyName) {
|
|
1199
|
-
const selectBtn = await policy.childLocatorFor(
|
|
1199
|
+
const selectBtn = await policy.childLocatorFor(MatLegacyButtonHarness.with({ selector: '.policiesCatalog__list__policy__selectBtn' }))();
|
|
1200
1200
|
await selectBtn.click();
|
|
1201
1201
|
return;
|
|
1202
1202
|
}
|
|
@@ -1208,11 +1208,11 @@ class GioPolicyStudioPoliciesCatalogDialogHarness extends ComponentHarness {
|
|
|
1208
1208
|
return policy.text();
|
|
1209
1209
|
}
|
|
1210
1210
|
async hasRequestUpgradeButton() {
|
|
1211
|
-
const requestUpgradeButton = await this.locatorForOptional(
|
|
1211
|
+
const requestUpgradeButton = await this.locatorForOptional(MatLegacyButtonHarness.with({ text: 'Request upgrade' }))();
|
|
1212
1212
|
return !!requestUpgradeButton;
|
|
1213
1213
|
}
|
|
1214
1214
|
async clickAddPolicyButton() {
|
|
1215
|
-
const addBtn = await this.locatorFor(
|
|
1215
|
+
const addBtn = await this.locatorFor(MatLegacyButtonHarness.with({ selector: '.actions__addBtn' }))();
|
|
1216
1216
|
await addBtn.click();
|
|
1217
1217
|
}
|
|
1218
1218
|
async getStepForm() {
|
|
@@ -1235,7 +1235,7 @@ class GioPolicyStudioPoliciesCatalogDialogHarness extends ComponentHarness {
|
|
|
1235
1235
|
await chipList?.selectChips({ text: categoryName });
|
|
1236
1236
|
}
|
|
1237
1237
|
async searchFilter(search) {
|
|
1238
|
-
const searchInput = await this.locatorFor(
|
|
1238
|
+
const searchInput = await this.locatorFor(MatLegacyInputHarness.with({ selector: '[formControlName="search"]' }))();
|
|
1239
1239
|
if (searchInput) {
|
|
1240
1240
|
await searchInput.setValue(search);
|
|
1241
1241
|
}
|
|
@@ -1316,7 +1316,7 @@ class GioPolicyStudioDetailsPhaseHarness extends ComponentHarness {
|
|
|
1316
1316
|
async clickAddStep(index) {
|
|
1317
1317
|
const addStepBtn = await this.locatorForAll(DivHarness.with({ selector: '.content__step' }))().then(divs => divs[index]);
|
|
1318
1318
|
await addStepBtn
|
|
1319
|
-
.childLocatorFor(
|
|
1319
|
+
.childLocatorFor(MatLegacyButtonHarness.with({ selector: '.content__step__addBtn' }))()
|
|
1320
1320
|
.then(btn => btn.click());
|
|
1321
1321
|
}
|
|
1322
1322
|
/**
|
|
@@ -1440,7 +1440,7 @@ class GioPolicyStudioHarness extends ComponentHarness {
|
|
|
1440
1440
|
*/
|
|
1441
1441
|
async getSelectedFlowPhase(phaseType) {
|
|
1442
1442
|
if (phaseType === 'PUBLISH' || phaseType === 'SUBSCRIBE') {
|
|
1443
|
-
const matTabsHarness = await this.locatorFor(
|
|
1443
|
+
const matTabsHarness = await this.locatorFor(MatLegacyTabGroupHarness.with({ selector: '.content__tabs' }))();
|
|
1444
1444
|
await matTabsHarness.selectTab({ label: 'Event messages' });
|
|
1445
1445
|
}
|
|
1446
1446
|
const steps = await this.phaseHarness(phaseType);
|
|
@@ -1450,7 +1450,7 @@ class GioPolicyStudioHarness extends ComponentHarness {
|
|
|
1450
1450
|
* Get Save button state
|
|
1451
1451
|
*/
|
|
1452
1452
|
async getSaveButtonState() {
|
|
1453
|
-
const saveButton = await this.locatorFor(
|
|
1453
|
+
const saveButton = await this.locatorFor(MatLegacyButtonHarness.with({ ancestor: '.header__btn' }))();
|
|
1454
1454
|
const disabled = await saveButton.isDisabled();
|
|
1455
1455
|
const text = await saveButton.getText();
|
|
1456
1456
|
if (text === 'Saving...') {
|
|
@@ -1465,7 +1465,7 @@ class GioPolicyStudioHarness extends ComponentHarness {
|
|
|
1465
1465
|
* Click on the "Save" button
|
|
1466
1466
|
*/
|
|
1467
1467
|
async save() {
|
|
1468
|
-
await (await this.locatorFor(
|
|
1468
|
+
await (await this.locatorFor(MatLegacyButtonHarness.with({ text: /Save/ }))()).click();
|
|
1469
1469
|
}
|
|
1470
1470
|
async setFlowFormDialog(flow) {
|
|
1471
1471
|
const channelSelector = flow.selectors?.find(s => s.type === 'CHANNEL');
|