diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 5c06cfe..0913ce2 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -667,6 +667,7 @@
摘要导航: + 仅用于摘要区快速定位,不会改变当前筛选状态。 已付无回执 对账不一致 可同步 diff --git a/tests/Feature/AdminPlatformOrderSummaryJumpLinksShouldHaveUsageNoteTest.php b/tests/Feature/AdminPlatformOrderSummaryJumpLinksShouldHaveUsageNoteTest.php new file mode 100644 index 0000000..649ac18 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderSummaryJumpLinksShouldHaveUsageNoteTest.php @@ -0,0 +1,33 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_platform_order_summary_jump_links_should_have_usage_note(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertStringContainsString('data-role="po-summary-jump-note"', $html); + $this->assertStringContainsString('仅用于摘要区快速定位,不会改变当前筛选状态。', $html); + } +}