Browse Source

upd suites

VladSenyuta 2 years ago
parent
commit
0f0c45369d

+ 2 - 1
kafka-ui-e2e-checks/src/main/java/com/provectus/kafka/ui/utilities/qaseUtils/QaseSetup.java

@@ -22,12 +22,13 @@ public class QaseSetup {
             System.setProperty("QASE_ENABLE", FALSE);
             System.setProperty("QASE_ENABLE", FALSE);
         } else {
         } else {
             log.warn("Integration with Qase is enabled. Find this run at https://app.qase.io/run/KAFKAUI.");
             log.warn("Integration with Qase is enabled. Find this run at https://app.qase.io/run/KAFKAUI.");
+            String automation = SUITE_NAME.equalsIgnoreCase("manual") ? "Automation " : "";
             System.setProperty("QASE_ENABLE", TRUE);
             System.setProperty("QASE_ENABLE", TRUE);
             System.setProperty("QASE_PROJECT_CODE", "KAFKAUI");
             System.setProperty("QASE_PROJECT_CODE", "KAFKAUI");
             System.setProperty("QASE_API_TOKEN", qaseApiToken);
             System.setProperty("QASE_API_TOKEN", qaseApiToken);
             System.setProperty("QASE_USE_BULK", TRUE);
             System.setProperty("QASE_USE_BULK", TRUE);
             System.setProperty("QASE_RUN_NAME", DateTimeFormatter.ofPattern("dd.MM.yyyy HH:mm")
             System.setProperty("QASE_RUN_NAME", DateTimeFormatter.ofPattern("dd.MM.yyyy HH:mm")
-                    .format(OffsetDateTime.now(ZoneOffset.UTC)) + ": " + "Automation " + SUITE_NAME.toUpperCase() + " suite");
+                    .format(OffsetDateTime.now(ZoneOffset.UTC)) + ": " + automation + SUITE_NAME.toUpperCase() + " suite");
         }
         }
     }
     }
 }
 }