diff --git a/monitor.py b/monitor.py index 64d6a9f..e37f5fc 100644 --- a/monitor.py +++ b/monitor.py @@ -562,9 +562,9 @@ class ApplicationHandler: result["message"] = "Application submitted successfully" logger.info("[HOWOGE] Success! Confirmation message detected") else: - result["success"] = True - result["message"] = "Form submitted, awaiting confirmation" - logger.info("[HOWOGE] Form submitted but no clear confirmation") + result["success"] = False + result["message"] = "Form submitted but no confirmation detected" + logger.warning("[HOWOGE] Form submitted but no clear confirmation") else: result["success"] = False result["message"] = "Form filled but no submit button found" @@ -623,8 +623,8 @@ class ApplicationHandler: await page.screenshot(path=str(screenshot_path)) logger.info(f"[GEWOBAG] Saved screenshot to {screenshot_path}") - result["success"] = True - result["message"] = "Application page opened" + result["success"] = False + result["message"] = "Application page opened but not submitted (not implemented)" else: result["message"] = "No application button found" logger.warning("[GEWOBAG] Could not find application button") @@ -887,8 +887,8 @@ class ApplicationHandler: await page.screenshot(path=str(screenshot_path)) logger.info(f"[GESOBAU] Saved screenshot to {screenshot_path}") - result["success"] = True - result["message"] = "Application page opened" + result["success"] = False + result["message"] = "Application page opened but not submitted (not implemented)" else: result["message"] = "No application button found" logger.warning("[GESOBAU] Could not find application button") @@ -1133,8 +1133,8 @@ class ApplicationHandler: await page.screenshot(path=str(screenshot_path)) logger.info(f"[WBM] Saved screenshot to {screenshot_path}") - result["success"] = True - result["message"] = "Application page opened" + result["success"] = False + result["message"] = "Application page opened but not submitted (not implemented)" else: result["message"] = "No application button found" logger.warning("[WBM] Could not find application button")