Skip to content

Commit

Permalink
incorporated review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmekumari committed Oct 27, 2023
1 parent 9cfe718 commit 7fbd144
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Feature: Sysadmin - Validate system admin page Run time scenarios
Then Verify the namespace created success message displayed on confirmation window
Then Verify the created namespace: "namespaceName" is displayed in Namespace tab

@Required
@SysAdminRequired
Scenario:To verify User should be able to add a secure key from Make HTTP calls successfully with PUT calls
Given Open Datafusion Project to configure pipeline
Then Open "System Admin" menu
Expand All @@ -41,7 +41,7 @@ Feature: Sysadmin - Validate system admin page Run time scenarios
Then Click on send button
Then Verify the status code for success response

@Required
@SysAdminRequired
Scenario:To verify User should be able to fetch secure key from Make HTTP calls successfully with GET calls
Given Open Datafusion Project to configure pipeline
Then Open "System Admin" menu
Expand All @@ -52,7 +52,7 @@ Feature: Sysadmin - Validate system admin page Run time scenarios
Then Click on send button
Then Verify the status code for success response

@Required
@SysAdminRequired
Scenario:To verify User should be able to delete secure key from Make HTTP calls successfully with DELETE calls
Given Open Datafusion Project to configure pipeline
Then Open "System Admin" menu
Expand All @@ -63,7 +63,7 @@ Feature: Sysadmin - Validate system admin page Run time scenarios
Then Click on send button
Then Verify the status code for success response

@BQ_SOURCE_TEST @BQ_SINK_TEST @Required
@BQ_SOURCE_TEST @BQ_SINK_TEST @SysAdminRequired
Scenario:To verify user should be able to run a pipeline successfully using the System preferences created
Given Open Datafusion Project to configure pipeline
Then Open "System Admin" menu
Expand Down Expand Up @@ -101,7 +101,7 @@ Feature: Sysadmin - Validate system admin page Run time scenarios
Then Open and capture logs
Then Verify the pipeline status is "Succeeded"

@BQ_SOURCE_TEST @BQ_SINK_TEST @Required
@BQ_SOURCE_TEST @BQ_SINK_TEST @SysAdminRequired
Scenario:To verify user should be able to run a pipeline successfully using the Namespace preferences created
Given Open Datafusion Project to configure pipeline
Then Open "System Admin" menu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
import org.junit.runner.RunWith;

/**
* Test Runner to execute required test cases. Add @Required tag on the scenario.
* Test Runner to execute required test cases. Add @SysAdminRequired tag on the scenario.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"src/e2e-test/features"},
glue = {"stepsdesign", "io.cdap.cdap.common.stepsdesign"},
tags = {"@Required"},
tags = {"@SysAdminRequired"},
plugin = {"pretty", "html:target/cucumber-html-report/required",
"json:target/cucumber-reports/cucumber-required.json",
"junit:target/cucumber-reports/cucumber-required.xml"},
Expand Down

0 comments on commit 7fbd144

Please sign in to comment.