feat: rename DDMA to ClaimMD across selenium service, remove MH/CMSP eligibility feature
Rename ddma_browser_manager/helpers/worker files to claimmd_* naming in SeleniumService. Remove the MassHealth (MH) and CMSP eligibility-check feature end to end: buttons and dead placeholder buttons on the insurance eligibility page, their handlers and auto-trigger wiring, the chatbot's MassHealth-only manual paste flow, backend routes/queue job types/processors, and the corresponding Python Selenium worker endpoints. Multi-provider eligibility checking (DDMA, Delta, Tufts SCO, United SCO, CCA, BCBS MA) and the Twilio SMS eligibility flow are untouched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
00fd213291
commit
a3d2960c98
@@ -8,7 +8,7 @@ from selenium.webdriver.support import expected_conditions as EC
|
||||
from selenium.common.exceptions import WebDriverException, TimeoutException
|
||||
|
||||
from selenium_DDMA_claimSubmitWorker import AutomationDDMAClaimSubmit
|
||||
from ddma_browser_manager import get_browser_manager
|
||||
from claimmd_browser_manager import get_browser_manager
|
||||
|
||||
sessions: Dict[str, Dict[str, Any]] = {}
|
||||
|
||||
@@ -56,7 +56,7 @@ async def _remove_session_later(sid: str, delay: int = 20):
|
||||
|
||||
async def start_ddma_claim_run(sid: str, data: dict, url: str):
|
||||
"""
|
||||
Run the DDMA claim workflow — mirrors helpers_ddma_eligibility exactly for
|
||||
Run the DDMA claim workflow — mirrors helpers_claimmd_eligibility exactly for
|
||||
login/OTP, then continues into claim-specific steps.
|
||||
|
||||
OTP handling uses two complementary strategies:
|
||||
@@ -321,7 +321,7 @@ async def start_ddma_claim_run(sid: str, data: dict, url: str):
|
||||
|
||||
# Close the browser window after claim (session preserved in profile)
|
||||
try:
|
||||
from ddma_browser_manager import get_browser_manager
|
||||
from claimmd_browser_manager import get_browser_manager
|
||||
get_browser_manager().quit_driver()
|
||||
print("[DDMA Claim] Browser closed - session preserved in profile")
|
||||
except Exception as close_err:
|
||||
|
||||
Reference in New Issue
Block a user