fix e2e  test task
@@ -172,7 +172,7 @@ task e2eTests(type: Test) {
useJUnitPlatform() {
systemProperty "testprofile", "e2e"
if (System.properties['testprofile'] != 'integration' | System.properties['testprofile'] != 'unit' | System.properties['testprofile'] != 'component') {
- include 'com/checkmarx/flow/cucumber/end2End/github2jira/**'
+ include 'com/checkmarx/flow/cucumber/integration/end2end/github2jira/**'
exclude 'com/checkmarx/flow/cucumber/component/**'
exclude 'com/checkmarx/flow/integration/**'
exclude 'com/checkmarx/flow/cucumber/integration/publishprocess/**'
@@ -230,33 +230,3 @@ task integrationTest(type: Test) {
}
}
}
-
-task integrationTest1(type: Test) {
- useJUnitPlatform() {
- systemProperty "testprofile", "integration"
- if (System.properties['testprofile'] != 'unit' | System.properties['testprofile'] != 'component' | System.properties['testprofile'] != 'e2e') {
- include 'com/checkmarx/flow/cucumber/integration/negative_tests/**'
- include 'com/checkmarx/flow/cucumber/integration/jira/manualconfig/**'
- include 'com/checkmarx/flow/cucumber/integration/jira/autoconfig/*'
- include 'com/checkmarx/flow/cucumber/integration/github/**'
- include 'com/checkmarx/flow/cucumber/integration/azure/publishing/**'
- exclude 'com/checkmarx/flow/cucumber/integration/jira/analytics/*'
- exclude 'com/checkmarx/flow/cucumber/integration/end2end/github2jira/**'
- exclude 'com/checkmarx/flow/cucumber/integration/publishprocess/**'
- exclude 'com/checkmarx/flow/test/flow**'
- exclude 'com/checkmarx/flow/exception/**'
- exclude 'com/checkmarx/flow/custom/**'
- exclude 'com/checkmarx/flow/controller**'
- exclude 'com/checkmarx/flow/filter/**'
- exclude 'com/checkmarx/flow/service/**'
- exclude 'com/checkmarx/flow/utils/**'
- exclude 'com/checkmarx/flow/CxFlowApplicationTest'
- exclude 'com/checkmarx/flow/cucumber/component/**'
- exclude 'com/checkmarx/flow/cucumber/integration/scan/**'
- exclude 'com/checkmarx/flow/cucumber/integration/jira/JiraLoadTestRunner.java'
- }
- testLogging {
- events "passed", "skipped", "failed"
- }
- }
-}
\ No newline at end of file
