From fbe405599de8d75eb47b5056091f3bdc96964d83 Mon Sep 17 00:00:00 2001 From: Jozef Marko Date: Fri, 5 Apr 2024 14:31:57 +0200 Subject: [PATCH] decision service test plan --- .../drgElements/modelDecisionService.spec.ts | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 packages/dmn-editor/tests/e2e/drgElements/modelDecisionService.spec.ts diff --git a/packages/dmn-editor/tests/e2e/drgElements/modelDecisionService.spec.ts b/packages/dmn-editor/tests/e2e/drgElements/modelDecisionService.spec.ts new file mode 100644 index 00000000000..b764bb8376f --- /dev/null +++ b/packages/dmn-editor/tests/e2e/drgElements/modelDecisionService.spec.ts @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import { test, expect } from "../__fixtures__/base"; +import { DefaultNodeName, NodeType } from "../__fixtures__/nodes"; + +test.beforeEach(async ({ editor }) => { + await editor.open(); +}); + +test.describe("Model Decision Service", () => { + test.skip("Decision Service Signature", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/663 + }); + + test.skip("Decision Service Inputs Order", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/664 + }); + + test("Delete Decision from the Decision Service upper divider", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/879 + }); + + test("Delete Decision from the Decision Service below divider", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/879 + }); + + test("Resize non empty decision service", async () => { + // https://github.com/apache/incubator-kie-issues/issues/881 + // move into `resize` spec file, once is merged https://github.com/ljmotta/kie-tools/pull/27 + }); + + test.skip("Drag Decision directly into Decision Service", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/896 + }); + + test.skip("Add connected Decision from Decision that is already part of Decision Service", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/897 + }); + + test("Move Decision inside Decision Service by a keyboard", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/876 + }); + + test.skip("Move Decision inside Decision Service by a keyboard without crossing sections", async () => { + //TODO https://github.com/apache/incubator-kie-issues/issues/876 + }); +});