From 90e9111471322e05e304362d2038005ca449ba7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Tue, 17 Mar 2026 07:21:52 +0800 Subject: [PATCH] =?UTF-8?q?test(dashboard):=20=E5=AF=B9=E9=BD=90=E6=B2=BB?= =?UTF-8?q?=E7=90=86=E5=AF=BC=E5=90=91=E5=BF=AB=E6=8D=B7=E5=8C=BA=E4=B8=8E?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=AE=9A=E4=BD=8D=E8=BF=90=E8=90=A5=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ardBillingWorkbenchQuickLinksShouldShowCountsTest.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/Feature/AdminDashboardBillingWorkbenchQuickLinksShouldShowCountsTest.php b/tests/Feature/AdminDashboardBillingWorkbenchQuickLinksShouldShowCountsTest.php index 8e079fa..e6afd99 100644 --- a/tests/Feature/AdminDashboardBillingWorkbenchQuickLinksShouldShowCountsTest.php +++ b/tests/Feature/AdminDashboardBillingWorkbenchQuickLinksShouldShowCountsTest.php @@ -105,9 +105,12 @@ class AdminDashboardBillingWorkbenchQuickLinksShouldShowCountsTest extends TestC $res = $this->get('/admin'); $res->assertOk(); - // 待生效口径:paid + pending,但排除“同步失败”(失败应在同步失败集合处理) - $res->assertSee('待支付(1)'); - $res->assertSee('待生效(1)'); + // 快捷区已按“治理导向”收敛:待支付/待生效不再作为默认快捷标签。 + // 本用例仅验证计数渲染:可BMPA处理(对应 unpaid+pending)、同步失败。 + $res->assertSee('可BMPA处理(1)'); $res->assertSee('同步失败(1)'); + + // 待生效属于“高级筛选”(默认收起),仍需渲染正确计数。 + $res->assertSee('待生效(1)'); } }