Skip to content

Commit 9fa8169

Browse files
control center cdap phase2
1 parent a784b2d commit 9fa8169

File tree

9 files changed

+910
-0
lines changed

9 files changed

+910
-0
lines changed

cdap-e2e-tests/src/e2e-test/features/controlcenter/ControlCenter.feature

Lines changed: 399 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Copyright © 2023 Cask Data, Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4+
# use this file except in compliance with the License. You may obtain a copy of
5+
# the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12+
# License for the specific language governing permissions and limitations under
13+
# the License.
14+
15+
@Controlcenter
16+
17+
Feature: Controlcenter - Validate control center page flow design time features.
18+
19+
Scenario: Verify user is able to click the control center tab and successfully navigates to control center page
20+
Given Open Datafusion Project to configure pipeline
21+
Then Click on the Hamburger bar on the left panel
22+
Then Click on Control Center link from the hamburger menu
23+
Then Verify that the user is navigated to control center page successfully
24+
25+
Scenario: Verify the Display message should be updated on the basis of filter selection as per the user
26+
Given Open Datafusion Project to configure pipeline
27+
Then Click on the Hamburger bar on the left panel
28+
Then Click on Control Center link from the hamburger menu
29+
Then Select dropdown : "Filter" with option value: "Artifacts" in control center
30+
Then Verify the all entities message is displayed with the filter selection
31+
32+
Scenario: Verify User is able to switch between Schema and programs of the dataset.
33+
Given Open Datafusion Project to configure pipeline
34+
Then Click on the Hamburger bar on the left panel
35+
Then Click on Control Center link from the hamburger menu
36+
Then Verify the user is able to click dataset entity icon to navigate to details page
37+
Then Verify user is navigated to the details page of the dataset entity icon successfully
38+
Then Click on the schema link of the dataset entity details page
39+
Then Verify user is navigated to the schema details page of the dataset entity page
40+
Then Click on the programs link of the dataset entity details page
41+
Then Verify user is navigated to the programs details page of the dataset entity page
42+
43+
Scenario: Verify User is able to sort the entities with all the available filter types in control center.
44+
Given Open Datafusion Project to configure pipeline
45+
Then Click on the Hamburger bar on the left panel
46+
Then Click on Control Center link from the hamburger menu
47+
Then Select the sort by dropdown with option value: "Newest"
48+
Then Verify the entities are sorted by the newest option
49+
Then Select the sort by dropdown with option value: "Oldest"
50+
Then Verify the entities are sorted by the oldest option
51+
Then Select the sort by dropdown with option value: "A - Z"
52+
Then Verify the entities are sorted by the A to Z option
53+
Then Select the sort by dropdown with option value: "Z - A"
54+
Then Verify the entities are sorted by the Z to A option
55+
56+
Scenario: Verify the user is able to navigate to and from details page of a dataset inside control center
57+
Given Open Datafusion Project to configure pipeline
58+
Then Click on the Hamburger bar on the left panel
59+
Then Click on Control Center link from the hamburger menu
60+
Then Verify the user is able to click dataset entity icon to navigate to details page
61+
Then Click on view details tab of dataset entity
62+
Then Verify user is successfully navigated to details page of the dataset entity
63+
Then Click on the back link of the view details page of dataset entity
64+
Then Click on close link to close the details page of dataset entity
65+
Then Verify that the user is navigated to control center page successfully
66+
67+
Scenario: Verify user should be able to search the dataset using the added tags.
68+
Given Open Datafusion Project to configure pipeline
69+
Then Click on the Hamburger bar on the left panel
70+
Then Click on Control Center link from the hamburger menu
71+
Then Verify the user is able to click dataset entity icon to navigate to details page
72+
Then Click on the plus button to add the tag for a dataset entity
73+
Then Verify user is able to enter the values in tag input field: "testingTag"
74+
Then Enter the text in search tab "testingTag" in control center
75+
Then Verify the searched tag is displayed successfully on control center page
76+
77+
Scenario: Verify that User is able to click on the dataset entity and is navigated to the details page of the dataset successfully
78+
Given Open Datafusion Project to configure pipeline
79+
Then Click on the Hamburger bar on the left panel
80+
Then Click on Control Center link from the hamburger menu
81+
Then Verify the user is able to click dataset entity icon to navigate to details page
82+
Then Verify user is navigated to the details page of the dataset entity icon successfully

0 commit comments

Comments
 (0)