diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 6b96859..8e4a864 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -667,7 +667,7 @@
摘要导航: - 说明:仅用于摘要区快速定位,不会改变当前筛选状态;如需重新调整范围,可先回到筛选条件 + 说明:仅用于摘要区快速定位,不会改变当前筛选状态;如需重新调整范围,可先回到筛选条件;如需继续执行动作,可回到工具区 已付无回执 对账不一致 可同步 diff --git a/tests/Feature/AdminPlatformOrderSummaryJumpNoteShouldLinkBackToToolsTest.php b/tests/Feature/AdminPlatformOrderSummaryJumpNoteShouldLinkBackToToolsTest.php new file mode 100644 index 0000000..557d1c6 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderSummaryJumpNoteShouldLinkBackToToolsTest.php @@ -0,0 +1,35 @@ +seed(); + + $this->post('/admin/login', [ + 'email' => 'platform.admin@demo.local', + 'password' => 'Platform@123456', + ])->assertRedirect('/admin'); + } + + public function test_platform_order_summary_jump_note_should_link_back_to_tools(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertStringContainsString('data-role="po-summary-jump-back-to-tools"', $html); + $this->assertStringContainsString('href="#po-tools-grid"', $html); + $this->assertStringContainsString('aria-label="回到工具区"', $html); + $this->assertStringContainsString('title="回到工具区执行导出或批量动作"', $html); + } +}