sales fix
This commit is contained in:
@@ -28,6 +28,14 @@ def test_login_ui_route_exists():
|
||||
assert "login/assets/app.js" in response.text
|
||||
|
||||
|
||||
def test_sales_ui_route_exists():
|
||||
client = TestClient(app)
|
||||
response = client.get("/sales")
|
||||
assert response.status_code == 200
|
||||
assert "sales/assets/app.js" in response.text
|
||||
assert 'id="sendTelegramReplyBtn"' in response.text
|
||||
|
||||
|
||||
def test_legal_routes_exist_for_meta_review():
|
||||
client = TestClient(app)
|
||||
|
||||
@@ -60,6 +68,7 @@ def test_contracts_shape():
|
||||
assert "stage_15" in payload
|
||||
assert "stage_16" in payload
|
||||
assert "stage_17" in payload
|
||||
assert "stage_18" in payload
|
||||
assert "/integrations/webchat/messages" in payload["stage_2"]
|
||||
assert "/integrations/email/messages" in payload["stage_2"]
|
||||
assert "/integrations/whatsapp/webhook" in payload["stage_2"]
|
||||
@@ -89,6 +98,10 @@ def test_contracts_shape():
|
||||
assert "/ai/analytics/drilldown" in payload["stage_16"]
|
||||
assert "/ai/analytics/sessions/*" in payload["stage_16"]
|
||||
assert "/asterisk/live-calls/*/ai-summary" in payload["stage_17"]
|
||||
assert "/api/v1/leads" in payload["stage_18"]
|
||||
assert "/api/v1/deals" in payload["stage_18"]
|
||||
assert "/api/v1/messages/inbound-webhook" in payload["stage_18"]
|
||||
assert "/api/v1/calls/inbound-webhook" in payload["stage_18"]
|
||||
|
||||
|
||||
def test_operator_ui_includes_favicon_link():
|
||||
|
||||
Reference in New Issue
Block a user