diff --git a/cdap-e2e-tests/src/e2e-test/features/controlcenter/DesignTime.feature b/cdap-e2e-tests/src/e2e-test/features/controlcenter/DesignTime.feature index eb1d0c715d1b..445761f5f90e 100644 --- a/cdap-e2e-tests/src/e2e-test/features/controlcenter/DesignTime.feature +++ b/cdap-e2e-tests/src/e2e-test/features/controlcenter/DesignTime.feature @@ -27,7 +27,7 @@ Feature: Controlcenter - Validate control center page flow design time features. Then Click on the Hamburger bar on the left panel Then Click on Control Center link from the hamburger menu Then Select dropdown : "Filter" with option value: "Artifacts" in control center - Then Verify the all entities message is displayed with the filter selection + Then Verify the all entities message is displayed with the filter selection: "allEntitiesDisplayedMessage" Scenario: Verify User is able to switch between Schema and programs of the dataset. Given Open Datafusion Project to configure pipeline @@ -45,13 +45,13 @@ Feature: Controlcenter - Validate control center page flow design time features. Then Click on the Hamburger bar on the left panel Then Click on Control Center link from the hamburger menu Then Select the sort by dropdown with option value: "Newest" - Then Verify the entities are sorted by the newest option + Then Verify the entities are sorted by the newest option: "newFilterMessage" Then Select the sort by dropdown with option value: "Oldest" - Then Verify the entities are sorted by the oldest option + Then Verify the entities are sorted by the oldest option: "oldestFilterMessage" Then Select the sort by dropdown with option value: "A - Z" - Then Verify the entities are sorted by the A to Z option + Then Verify the entities are sorted by the Z to A option: "aToZFilterMessage" Then Select the sort by dropdown with option value: "Z - A" - Then Verify the entities are sorted by the Z to A option + Then Verify the entities are sorted by the A to Z option: "zToAFilterMessage" Scenario: Verify the user is able to navigate to and from details page of a dataset inside control center Given Open Datafusion Project to configure pipeline @@ -72,7 +72,7 @@ Feature: Controlcenter - Validate control center page flow design time features. Then Click on the plus button to add the tag for a dataset entity Then Verify user is able to enter the values in tag input field: "testingTag" Then Enter the text in search tab "testingTag" in control center - Then Verify the searched tag is displayed successfully on control center page + Then Verify the searched tag is displayed successfully on control center page: "searchedTagDisplayedMessage" Scenario: Verify that User is able to click on the dataset entity and is navigated to the details page of the dataset successfully Given Open Datafusion Project to configure pipeline @@ -80,3 +80,15 @@ Feature: Controlcenter - Validate control center page flow design time features. Then Click on Control Center link from the hamburger menu Then Verify the user is able to click dataset entity icon to navigate to details page Then Verify user is navigated to the details page of the dataset entity icon successfully + + Scenario: Verify that tags counts should be increased and decreased in case User perform Add or Remove actions on dataset entity. + Given Open Datafusion Project to configure pipeline + Then Click on the Hamburger bar on the left panel + Then Click on Control Center link from the hamburger menu + Then Verify the user is able to click dataset entity icon to navigate to details page + Then Click on the plus button to add the tag for a dataset entity + Then Verify user is able to enter the values in tag input field: "testingTag" + Then Verify the tag count of dataset entity when user adds the tag + Then Click on the close icon of tag added + Then Verify the tag count of dataset entity decreases message: "tagCountDecreaseMessage" + Then Click on close link to close the details page of dataset entity diff --git a/cdap-e2e-tests/src/e2e-test/features/controlcenter/RunTime.feature b/cdap-e2e-tests/src/e2e-test/features/controlcenter/RunTime.feature index 0f630dee358e..554e67588ec2 100644 --- a/cdap-e2e-tests/src/e2e-test/features/controlcenter/RunTime.feature +++ b/cdap-e2e-tests/src/e2e-test/features/controlcenter/RunTime.feature @@ -184,51 +184,6 @@ Feature: Controlcenter - Validate control center page flow run time features. Then Click delete and verify the dataset is deleted successfully Then Verify the deleted dataset "BQReferenceNameDatasetDelete" entity is not present in control center page - @BQ_INSERT_INT_SOURCE_TEST @BQ_SINK_TEST - Scenario: Verify that tags counts should be increased and decreased in case User perform Add or Remove actions on dataset entity. - Given Open Datafusion Project to configure pipeline - Then Click on the Hamburger bar on the left panel - Then Click on Control Center link from the hamburger menu - Then Click on the Plus Green Button to import the pipelines - Then Click on create button to create a pipeline - When Expand Plugin group in the LHS plugins list: "Source" - When Select plugin: "BigQuery" from the plugins list as: "Source" - When Expand Plugin group in the LHS plugins list: "Sink" - When Select plugin: "BigQuery" from the plugins list as: "Sink" - Then Connect plugins: "BigQuery" and "BigQuery2" to establish connection - Then Navigate to the properties page of plugin: "BigQuery" - And Enter input plugin property: "referenceName" with value: "ReferenceDatasetTag" - And Replace input plugin property: "project" with value: "projectId" - And Enter input plugin property: "datasetProject" with value: "projectId" - And Replace input plugin property: "dataset" with value: "dataset" - Then Override Service account details if set in environment variables - And Enter input plugin property: "table" with value: "bqSourceTable" - Then Click on the Get Schema button - Then Validate "BigQuery" plugin properties - And Close the Plugin Properties page - Then Navigate to the properties page of plugin: "BigQuery2" - Then Replace input plugin property: "project" with value: "projectId" - Then Override Service account details if set in environment variables - Then Enter input plugin property: "datasetProject" with value: "projectId" - Then Enter input plugin property: "referenceName" with value: "BQReferenceNameDatasetTag" - Then Enter input plugin property: "dataset" with value: "dataset" - Then Enter input plugin property: "table" with value: "bqTargetTable" - Then Validate "BigQuery" plugin properties - And Close the Plugin Properties page - Then Save the pipeline - Then Deploy the pipeline - Then Run the Pipeline in Runtime - Then Wait till pipeline is in running state - Then Verify the pipeline status is "Succeeded" - Then Click on the Hamburger bar on the left panel - Then Click on Control Center link from the hamburger menu - Then Verify the user is able to click dataset entity icon to navigate to details page - Then Click on the plus button to add the tag for a dataset entity - Then Verify user is able to enter the values in tag input field: "testingTag" - Then Verify the tag count of dataset entity when user adds the tag - Then Click on the close icon of tag added and verify the tag count decreases - Then Click on close link to close the details page of dataset entity - @BQ_INSERT_INT_SOURCE_TEST @BQ_SINK_TEST Scenario: Verify that user is able to delete the created pipeline in control center successfully. Given Open Datafusion Project to configure pipeline diff --git a/cdap-e2e-tests/src/e2e-test/resources/pluginParameters.properties b/cdap-e2e-tests/src/e2e-test/resources/pluginParameters.properties index c3bb1c41638b..45f47b509139 100644 --- a/cdap-e2e-tests/src/e2e-test/resources/pluginParameters.properties +++ b/cdap-e2e-tests/src/e2e-test/resources/pluginParameters.properties @@ -12,4 +12,11 @@ datasetprojectId=cdf-athena keyValue=projectId value=cdf-athena Artifacts=Artifacts-input +newFilterMessage=Displaying Applications, Datasets, sorted by Newest +oldestFilterMessage=Displaying Applications, Datasets, sorted by Oldest +zToAFilterMessage=Displaying Applications, Datasets, sorted by Z - A +aToZFilterMessage=Displaying Applications, Datasets, sorted by A - Z +tagCountDecreaseMessage=Tags (0): +searchedTagDisplayedMessage=Search results for "testingTag", filtered by Applications, Datasets +allEntitiesDisplayedMessage=Displaying all entities, sorted by Newest ## CONTROLCENTER-END