jomarko commented on code in PR #2454:
URL:
https://github.com/apache/incubator-kie-tools/pull/2454#discussion_r1664290483
##########
packages/dmn-editor/tests-e2e/__fixtures__/propertiesPanel/decisionServicePropertiesPanel.ts:
##########
@@ -120,4 +120,71 @@ export class DecisionServicePropertiesPanel extends
PropertiesPanelBase {
public async setStrokeColor(args: { color: string }) {
await this.shapeProperties.setStrokeColor({ ...args });
}
+
+ public async getOutputDecisions() {
+ return (await this.panel()
+ .getByTestId("kie-tools--dmn-editor--decision-service-output-decisions")
+ .textContent())!.trim();
+ }
+
+ public async getEncapsulatedDecisions() {
+ return (await this.panel()
+
.getByTestId("kie-tools--dmn-editor--decision-service-encapsulated-decisions")
+ .textContent())!.trim();
+ }
+
+ public async getInputDecisions() {
+ return (
+ await this.panel()
+ .getByTestId("kie-tools--dmn-editor--decision-service-input-decisions")
+ .getByTestId("kie-dmn-editor--draggable-children")
+ .allTextContents()
+ ).map((content) => content.trim());
+ }
+
+ public async moveInputDecision(args: { nth: number; way: "up" | "down" }) {
+ // TODO
+ }
Review Comment:
yes, leftover, implemented now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]