diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 0a34a72..ae25b22 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -1200,6 +1200,7 @@
当前工具区承载导出、批量治理与失败标记清理,请先缩小筛选范围再执行动作;也可使用上方快速定位导航直达目标工具组。
导出 + 快速定位只负责跳转到工具组,不会直接执行动作。 批量同步 批量BMPA 批量仅生效 diff --git a/tests/Feature/AdminPlatformOrderIndexToolGridJumpLinksShouldHaveUsageNoteTest.php b/tests/Feature/AdminPlatformOrderIndexToolGridJumpLinksShouldHaveUsageNoteTest.php new file mode 100644 index 0000000..ee08882 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderIndexToolGridJumpLinksShouldHaveUsageNoteTest.php @@ -0,0 +1,33 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_platform_orders_tool_grid_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-tools-grid-jump-links-note"', $html); + $this->assertStringContainsString('快速定位只负责跳转到工具组,不会直接执行动作。', $html); + } +}