quick fix
This commit is contained in:
@@ -108,6 +108,7 @@ def generate_html_report(scenario_name, results, output_path):
|
||||
for tc_id, info in results.items():
|
||||
status = info[0]
|
||||
log_url = info[1]
|
||||
log_url = log_url.replace("file:///home/asf/testarena/", "http://asf-server.duckdns.org:8080/results/")
|
||||
status_class = "status-pass" if status == "PASS" else "status-fail"
|
||||
|
||||
test_case_rows += f"""
|
||||
@@ -136,9 +137,13 @@ def save_summary(results, task_id_path):
|
||||
print(f"\nFinal results saved to {json_path}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
queue_id = "1234"
|
||||
scenario_path = "application_layer/business_stack/actuator_manager/test/actuator_manager_init_test.test_scenario.xml"
|
||||
task_id = "56754"
|
||||
if len(sys.argv) > 3:
|
||||
queue_id = sys.argv[1] #"1234"
|
||||
scenario_path = sys.argv[2] #"application_layer/business_stack/actuator_manager/test/actuator_manager_init_test.test_scenario.xml"
|
||||
task_id = sys.argv[3] #"56754"
|
||||
else:
|
||||
print("Usage: python scenario_execution.py <queue_id> <scenario_path> <task_id>")
|
||||
sys.exit(1)
|
||||
|
||||
# Path logic
|
||||
queue_path = os.path.join(RESULT_PATH, queue_id)
|
||||
|
||||
Reference in New Issue
Block a user