From 035aede8ff8aab3e39f56192c64e8b4b811474cd Mon Sep 17 00:00:00 2001 From: navdeepkumar Date: Fri, 9 Feb 2024 13:02:50 +0530 Subject: [PATCH] Requirement to Ignore Tests --- cdap-e2e-tests/src/e2e-test/features/Hub/DesignTime.feature | 2 +- cdap-e2e-tests/src/e2e-test/features/Hub/Runtime.feature | 2 +- .../e2e-test/features/systemadmin/SysAdminDesignTime.feature | 2 +- .../features/systemadmin/SysAdminDesignTimeValidation.feature | 2 +- .../src/e2e-test/features/systemadmin/SysAdminRunTime.feature | 2 +- .../src/e2e-test/java/io/cdap/cdap/hub/runners/TestRunner.java | 2 +- .../cdap/cdap/systemadmin/common/common/TestRunnerRequired.java | 2 +- .../java/io/cdap/cdap/systemadmin/runners/TestRunner.java | 2 +- .../java/io/cdap/cdap/tethering/runners/TestRunner.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cdap-e2e-tests/src/e2e-test/features/Hub/DesignTime.feature b/cdap-e2e-tests/src/e2e-test/features/Hub/DesignTime.feature index cc83dfe47738..3e73202dc877 100644 --- a/cdap-e2e-tests/src/e2e-test/features/Hub/DesignTime.feature +++ b/cdap-e2e-tests/src/e2e-test/features/Hub/DesignTime.feature @@ -14,7 +14,7 @@ # the License. # -@Hub +@Hub @ignore Feature: Hub - Design time scenarios @TS-HUB-DESIGN-01 diff --git a/cdap-e2e-tests/src/e2e-test/features/Hub/Runtime.feature b/cdap-e2e-tests/src/e2e-test/features/Hub/Runtime.feature index f286e32d6e0a..98f135255b7b 100644 --- a/cdap-e2e-tests/src/e2e-test/features/Hub/Runtime.feature +++ b/cdap-e2e-tests/src/e2e-test/features/Hub/Runtime.feature @@ -14,7 +14,7 @@ # the License. # -@Hub +@Hub @ignore Feature: Hub - Run time scenarios @TS-HUB-RNTM-01 diff --git a/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTime.feature b/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTime.feature index e03153ba3b7a..2a8c615e7c37 100644 --- a/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTime.feature +++ b/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTime.feature @@ -14,7 +14,7 @@ # the License. # -@Sysadmin +@Sysadmin @ignore Feature: Sysadmin - Validate system admin page design time scenarios Background: diff --git a/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTimeValidation.feature b/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTimeValidation.feature index 052cf49f756f..1f0ea6377365 100644 --- a/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTimeValidation.feature +++ b/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminDesignTimeValidation.feature @@ -14,7 +14,7 @@ # the License. # -@Sysadmin +@Sysadmin @ignore Feature: Sysadmin - Validate system admin page design time validation scenarios Background: diff --git a/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminRunTime.feature b/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminRunTime.feature index 4562eb9dec25..6b62b51da659 100644 --- a/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminRunTime.feature +++ b/cdap-e2e-tests/src/e2e-test/features/systemadmin/SysAdminRunTime.feature @@ -14,7 +14,7 @@ # the License. # -@Sysadmin +@Sysadmin @ignore Feature: Sysadmin - Validate system admin page Run time scenarios Background: diff --git a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/hub/runners/TestRunner.java b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/hub/runners/TestRunner.java index f966bd357a64..b2e733c169e7 100644 --- a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/hub/runners/TestRunner.java +++ b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/hub/runners/TestRunner.java @@ -27,7 +27,7 @@ @CucumberOptions( features = {"src/e2e-test/features"}, glue = {"stepsdesign", "io.cdap.cdap.hub.stepsdesign"}, - tags = {"@Hub"}, + tags = {"@Hub and not @ignore"}, plugin = {"pretty", "html:target/cucumber-html-report/hub", "json:target/cucumber-reports/cucumber-hub.json", "junit:target/cucumber-reports/cucumber-hub.xml"} diff --git a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/common/common/TestRunnerRequired.java b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/common/common/TestRunnerRequired.java index 3ed7a83aaed9..52f5a5bdcf59 100644 --- a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/common/common/TestRunnerRequired.java +++ b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/common/common/TestRunnerRequired.java @@ -26,7 +26,7 @@ @CucumberOptions( features = {"src/e2e-test/features"}, glue = {"stepsdesign", "io.cdap.cdap.systemadmin.common.stepsdesign"}, - tags = {"@SysAdminRequired"}, + tags = {"@SysAdminRequired and not @ignore"}, plugin = {"pretty", "html:target/cucumber-html-report/required", "json:target/cucumber-reports/cucumber-required.json", "junit:target/cucumber-reports/cucumber-required.xml"}, diff --git a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/runners/TestRunner.java b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/runners/TestRunner.java index 450b8706c9e3..a8b28696db30 100644 --- a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/runners/TestRunner.java +++ b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/systemadmin/runners/TestRunner.java @@ -27,7 +27,7 @@ @CucumberOptions( features = {"src/e2e-test/features"}, glue = {"io.cdap.cdap.systemadmin.common.stepsdesign", "stepsdesign"}, - tags = {"@Sysadmin"}, + tags = {"@Sysadmin and not @ignore"}, plugin = {"pretty", "html:target/cucumber-html-report/systemadmin", "json:target/cucumber-reports/cucumber-systemadmin.json", "junit:target/cucumber-reports/cucumber-systemadmin.xml"} diff --git a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/tethering/runners/TestRunner.java b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/tethering/runners/TestRunner.java index 93a4be0cf893..8a8dfcae8d12 100644 --- a/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/tethering/runners/TestRunner.java +++ b/cdap-e2e-tests/src/e2e-test/java/io/cdap/cdap/tethering/runners/TestRunner.java @@ -27,7 +27,7 @@ @CucumberOptions( features = {"src/e2e-test/features"}, glue = {"io.cdap.cdap.tethering.stepsdesign", "stepsdesign"}, - tags = {"@Tethering_Registration or @Tethering_Runtime"}, + tags = {"Ignore"}, plugin = {"pretty", "html:target/cucumber-html-report/tethering", "json:target/cucumber-reports/cucumber-tethering.json", "junit:target/cucumber-reports/cucumber-tethering.xml"}