From 1ccd74fb7723bc41424ca93902d68d351ce55462 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Tue, 9 Mar 2021 18:29:48 +0000 Subject: Add Composition Page and create resource page/flow Add UI Tests Composition Page, and create resource page and flow Change-Id: I004a2e8123df669e7318eca7feb58f8b1210dd65 Issue-ID: SDC-3523, SDC-3524 Signed-off-by: andre.schmid --- .../substitution-filter.component.html | 2 +- .../panel/composition-panel.component.html | 3 +- .../panel/composition-panel.component.spec.ts | 151 +++++++++---- .../panel/composition-panel.component.ts | 144 ++++++++++-- .../tests/utils/general/AtomicOperationUtils.java | 3 + .../ci/tests/datatypes/CanvasNodeElement.java | 54 +++++ .../ci/tests/datatypes/ResourceCreateData.java | 45 ++++ .../CompositionCanvasRuntimeException.java | 32 +++ .../execute/sanity/EtsiNetworkServiceUiTests.java | 3 +- .../ci/tests/execute/sanity/OnboardingFlowsUi.java | 5 +- .../frontend/ci/tests/flow/CreateResourceFlow.java | 26 ++- .../ci/tests/flow/CreateResourceFromVspFlow.java | 59 +++++ .../sdc/frontend/ci/tests/flow/CreateVspFlow.java | 3 +- .../ci/tests/pages/ResourceCreatePage.java | 98 ++++++-- .../ci/tests/pages/ResourceLeftSideMenu.java | 7 + .../ci/tests/pages/ServiceComponentPage.java | 12 + .../frontend/ci/tests/pages/TopNavComponent.java | 30 ++- .../tests/pages/VspRepositoryModalComponent.java | 4 +- .../workspace/CompositionApiArtifactsTab.java | 50 +++++ .../workspace/CompositionCanvasComponent.java | 249 +++++++++++++++++++++ .../CompositionDeploymentArtifactsTab.java | 50 +++++ .../CompositionDetailSideBarComponent.java | 124 ++++++++++ .../workspace/CompositionElementsComponent.java | 92 ++++++++ .../workspace/CompositionInformationTab.java | 50 +++++ .../CompositionInformationalArtifactsTab.java | 50 +++++ .../component/workspace/CompositionInputsTab.java | 50 +++++ .../pages/component/workspace/CompositionPage.java | 87 +++++++ .../CompositionSubstitutionFilterTab.java | 52 +++++ .../sdc/frontend/ci/tests/pages/home/HomePage.java | 116 +++++++++- .../frontend/ci/tests/utilities/LoaderHelper.java | 31 +-- .../frontend/ci/tests/utilities/MouseUtils.java | 70 ++++++ 31 files changed, 1610 insertions(+), 142 deletions(-) create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/datatypes/CanvasNodeElement.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/datatypes/ResourceCreateData.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/exception/CompositionCanvasRuntimeException.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/flow/CreateResourceFromVspFlow.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionApiArtifactsTab.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionCanvasComponent.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionDeploymentArtifactsTab.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionDetailSideBarComponent.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionElementsComponent.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionInformationTab.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionInformationalArtifactsTab.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionInputsTab.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionPage.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/pages/component/workspace/CompositionSubstitutionFilterTab.java create mode 100644 integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/utilities/MouseUtils.java diff --git a/catalog-ui/src/app/ng2/components/logic/substitution-filter/substitution-filter.component.html b/catalog-ui/src/app/ng2/components/logic/substitution-filter/substitution-filter.component.html index 01329b70d1..81fc5b48ee 100644 --- a/catalog-ui/src/app/ng2/components/logic/substitution-filter/substitution-filter.component.html +++ b/catalog-ui/src/app/ng2/components/logic/substitution-filter/substitution-filter.component.html @@ -45,7 +45,7 @@