fix(деньги): взносы на счёт входят в поступления, карточка сходится
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ DASH = {"user": "boss@x", "generated_at": 1794000000, "last_visit": None,
|
||||
"limit_hits": 0, "latency_qa_ms": 200, "latency_qa_p95_ms": 500,
|
||||
"latency_agent_ms": 3000, "latency_agent_p95_ms": 9000},
|
||||
"money": {"revenue_rub": 1000, "flow_rub": 400, "accounts_total_rub": 2500,
|
||||
"topups_included": False, "unpriced": 0},
|
||||
"topups_included": True, "unpriced": 0},
|
||||
"customers": {"total": 12, "active_24h": 3},
|
||||
"attention": {"failures": 1, "limit_hits": 0, "unpriced": 0}}
|
||||
ATT = {"items": [{"key": "failures:24h", "severity": "high", "title": "Сбои",
|
||||
@@ -86,7 +86,7 @@ def test_five_cards_money_badge_and_done(browser, site):
|
||||
page.goto(site + "/admin/v2")
|
||||
page.wait_for_selector(".grid .card")
|
||||
assert page.locator(".grid .card").count() == 5
|
||||
assert "предварительно" in page.locator(".badge").first.inner_text()
|
||||
assert "предварительно" not in page.locator("main").inner_text()
|
||||
assert "1\u00a0000" in page.locator(".grid").inner_text()
|
||||
assert page.locator(".task").count() == 2
|
||||
assert "первый визит" not in page.locator(".grid").inner_text()
|
||||
|
||||
Reference in New Issue
Block a user