Skip to content

Commit

Permalink
addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitCLI committed Oct 27, 2023
1 parent a8f4a4a commit a178c75
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 15 deletions.
10 changes: 5 additions & 5 deletions cdap-e2e-tests/src/e2e-test/features/Hub/DesignTime.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Feature: Hub - Design time scenarios
@TS-HUB-DESIGN-01
Scenario: Verify that the user is able to successfully navigate to the Hub page
When Open Datafusion Project to configure pipeline
And Click on Hub button
And Verify that user is navigated to hub page successfully
Then Click on Hub button
Then Verify that user is navigated to hub page successfully
Then Click on close button

@TS-HUB-DESIGN-02
Scenario: Verify that the user is getting an error message for an invalid search
When Open Datafusion Project to configure pipeline
And Click on Hub button
And Enter the text in search tab "invalidMessage"
Then Verify that search displaying an error message: "invalid-message" on the header
Then Click on Hub button
Then Enter the text in search tab "invalidMessage_hub"
Then Verify that search displaying an error message: "invalid.message_hub" on the header
20 changes: 12 additions & 8 deletions cdap-e2e-tests/src/e2e-test/features/Hub/Runtime.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@
Feature: Hub - Run time scenarios

@TS-HUB-RNTM-01
Scenario: Verify that the user is able to deploy and delete a plugin
Scenario: Verify that the user is able to deploy a plugin in Hub and then delete it successfully
When Open Datafusion Project to configure pipeline
And Click on Hub button
And Click on "Plugins" option
And Enter the text in search tab "Anaplan"
And Click on "Anaplan plugins" plugin
And Deploy the plugin
And Verify that "Anaplan" plugin is successfully deployed
Then Verify user can click on the delete icon of the plugin and plugin gets deleted successfully
Then Click on Hub Menu
Then Click on "Plugins" option
Then Enter the text in search tab "Anaplan"
Then Click on "Anaplan plugins" plugin
Then Deploy the plugin
Then Verify that "Anaplan" plugin is successfully deployed
Then Enter the text in search tab "anaplan" in control center
Then Select dropdown : "Filter" with option value: "Artifacts" in control center
Then Click on delete button to delete the plugin
Then Verify that plugin is successfully deleted

Original file line number Diff line number Diff line change
@@ -1 +1 @@
invalid-message=No entities found
invalid.message_hub=No entities found
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ clientUrl=http://localhost:11011
serverUrl=https://placeholder.com/api
# command to generate token: gcloud auth print-access-token
serverAccessToken=placeholder

## HUB-PROPERTIES-START
expectedPluginName=Anaplan
expectedElement=HUB
invalidMessage=sfts
invalidMessage_hub=sfts
Artifacts=Artifacts-input
## HUB-PROPERTIES-END

0 comments on commit a178c75

Please sign in to comment.