refactor(platform-orders): add governance hint to index subtitle
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
<div class="page-header-main">
|
||||
<div>
|
||||
<div class="page-header-title">平台订单</div>
|
||||
<div class="page-header-subtitle">这里是总台视角的平台收费主链骨架页,当前阶段先承接套餐订购 / 续费 / 生效跟踪。本页先提供可访问列表、基础筛选与摘要卡,后续再补详情、导出、支付记录与退款轨迹。</div>
|
||||
<div class="page-header-subtitle">这里是总台视角的平台收费主链骨架页,当前阶段先承接套餐订购 / 续费 / 生效跟踪。本页先提供可访问列表、基础筛选与摘要卡,后续再补详情、导出、支付记录与退款轨迹。<span class="muted">(建议运营日常优先使用:待支付 / 待生效 / 可同步 / 同步失败 / 续费缺订阅 等治理集合)</span></div>
|
||||
</div>
|
||||
|
||||
<div class="page-header-actions">
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\TestCase;
|
||||
|
||||
class AdminPlatformOrderIndexSubtitleShouldMentionGovernanceSetsTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
protected function loginAsPlatformAdmin(): void
|
||||
{
|
||||
$this->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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user