diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 0038a6a..1d64468 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -102,7 +102,7 @@
平台订单
-
这里是总台视角的平台收费主链骨架页,当前阶段先承接套餐订购 / 续费 / 生效跟踪。本页先提供可访问列表、基础筛选与摘要卡,后续再补详情、导出、支付记录与退款轨迹。
+
这里是总台视角的平台收费主链骨架页,当前阶段先承接套餐订购 / 续费 / 生效跟踪。本页先提供可访问列表、基础筛选与摘要卡,后续再补详情、导出、支付记录与退款轨迹。(建议运营日常优先使用:待支付 / 待生效 / 可同步 / 同步失败 / 续费缺订阅 等治理集合)
diff --git a/tests/Feature/AdminPlatformOrderIndexSubtitleShouldMentionGovernanceSetsTest.php b/tests/Feature/AdminPlatformOrderIndexSubtitleShouldMentionGovernanceSetsTest.php new file mode 100644 index 0000000..aca54b0 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderIndexSubtitleShouldMentionGovernanceSetsTest.php @@ -0,0 +1,36 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_index_subtitle_should_mention_governance_sets(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + // 运营导向:标题副文案应提示关键治理集合,减少“页面上来不知道从哪下手”的认知成本。 + $res->assertSee('待支付', false); + $res->assertSee('待生效', false); + $res->assertSee('可同步', false); + $res->assertSee('同步失败', false); + $res->assertSee('续费缺订阅', false); + } +}