Skip to content

Commit

Permalink
Review comments addressed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldash171 committed Oct 31, 2023
1 parent 9f9eafd commit b52d09c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,28 @@
Feature: NameSpaceAdmin - Validate nameSpace admin design time scenarios

@Namespaceadmin
Scenario:Verify user is able to click the nameSpace admin tab and successfully navigates to the page
Scenario:Verify user is able to click on the namespace admin tab and successfully navigates to the page
Given Open Datafusion Project to configure pipeline
When Click on the Hamburger bar on the left panel
Then Click on NameSpace Admin link from the menu
Then Verify that the user is navigated to nameSpace admin page successfully
Then Verify if user successfully navigated to namespace admin page

@Namespaceadmin
Scenario:Validate user is able to open compute profile page and select a provisioner
Scenario:Validate user is able to open compute profile page and create a profile for selected a provisioner
Given Open Datafusion Project to configure pipeline
Then Click on the Hamburger bar on the left panel
Then Click on NameSpace Admin link from the menu
Then Click on create profile button for "default" Namespace
Then Select a provisioner: "existingDataProc" for the compute profile
Then Click on close button of compute profile properties page
Then Select a provisioner: "remoteHadoopProvisioner" for the compute profile
Then Verify the Create a Profile page is loaded for selected provisioner
Then Enter input plugin property: "profileLabel" with value: "validProfile"
Then Enter textarea plugin property: "profileDescription" with value: "validDescription"
Then Enter input plugin property: "host" with value: "testHost"
Then Enter input plugin property: "user" with value: "testUser"
Then Enter textarea plugin property: "sshKey" with value: "testSSHKey"
Then Click on: "Create" button in the properties
Then Verify the created compute profile: "validProfile" is displayed in system compute profile list


@Namespaceadmin
Scenario: Validate user is able to create new namespace preferences and able to delete the added namespace preferences successfully
Expand All @@ -39,7 +47,7 @@ Feature: NameSpaceAdmin - Validate nameSpace admin design time scenarios
Then Click on NameSpace Admin link from the menu
Then Click "preferences" tab from Configuration page for "default" Namespace
Then Click on edit namespace preferences to set namespace preferences
Then Set nameSpace preferences with key: "keyValue" and value: "nameSpacePreferences1"
Then Set namespace preferences with key: "keyValue" and value: "nameSpacePreferences1"
Then Click on the Save & Close preferences button
Then Click on edit namespace preferences to set namespace preferences
Then Delete the preferences
Expand All @@ -51,7 +59,7 @@ Feature: NameSpaceAdmin - Validate nameSpace admin design time scenarios
Then Click on NameSpace Admin link from the menu
Then Click "preferences" tab from Configuration page for "default" Namespace
Then Click on edit namespace preferences to set namespace preferences
Then Set nameSpace preferences with key: "keyValue" and value: "nameSpacePreferences2"
Then Set namespace preferences with key: "keyValue" and value: "nameSpacePreferences2"
Then Click on the Save & Close preferences button
Then Click on edit namespace preferences to set namespace preferences
Then Delete the preferences
Expand All @@ -64,7 +72,7 @@ Feature: NameSpaceAdmin - Validate nameSpace admin design time scenarios
Then Click on NameSpace Admin link from the menu
Then Click "preferences" tab from Configuration page for "default" Namespace
Then Click on edit namespace preferences to set namespace preferences
Then Set nameSpace preferences with key: "keyValue" and value: "nameSpacePreferences1"
Then Set namespace preferences with key: "keyValue" and value: "nameSpacePreferences1"
Then Reset the preferences
Then Verify the reset is successful for added preferences

Expand Down Expand Up @@ -112,4 +120,4 @@ Feature: NameSpaceAdmin - Validate nameSpace admin design time scenarios
Then Click on: "Finish" button in the properties
Then Switch to the newly created Namespace
Then Click on the Hamburger bar on the left panel
Then Verify if the switch is successful by checking the current "validNamespaceName" value
Then Verify the namespace is switched to "validNamespaceName" successfully
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Feature: NameSpaceAdmin - Validate nameSpace admin run time scenarios

@BQ_SOURCE_TEST @BQ_SINK_TEST
Scenario:To verify user should be able to run a pipeline successfully using the NameSpace preferences created
Scenario:To verify if user is able to run a pipeline successfully using the namespace preferences
Given Open Datafusion Project to configure pipeline
Then Click on the Hamburger bar on the left panel
Then Click on NameSpace Admin link from the menu
Expand Down Expand Up @@ -56,7 +56,7 @@ Feature: NameSpaceAdmin - Validate nameSpace admin run time scenarios
Then Verify the pipeline status is "Succeeded"

@BQ_SOURCE_TEST @BQ_SINK_TEST
Scenario: To verify User should be able to create a test connection inside Namespace admin and use it in any of the selected plugin Property.
Scenario: To verify if user is able to create a connection from namespace admin and configure it for required plugins
Given Open Datafusion Project to configure pipeline
Then Click on the Hamburger bar on the left panel
Then Click on NameSpace Admin link from the menu
Expand Down Expand Up @@ -101,5 +101,3 @@ Feature: NameSpaceAdmin - Validate nameSpace admin run time scenarios
Then Wait till pipeline is in running state
Then Open and capture logs
Then Verify the pipeline status is "Succeeded"


Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ invalidNamespaceName=^%&&3%%
validNamespaceDescription=Test Description
invalidProfile=6*&gjh879
invalidClusterName=$^%%&^GHJJH89
validNamespaceName=AutoTestt
validNamespaceName=AutoTest
ConnectionName=TestConnection
projectId=cdf-athena
dataset=test_automation
#bqSourceTable=dummy
#bqTargetTable=dummy
## NAMESPACEADMIN-PROPERTIES-END
## NAMESPACEADMIN-PROPERTIES-END

0 comments on commit b52d09c

Please sign in to comment.