From 3c2b2c80f91daa99b89e72d7074fcece1761f4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Thu, 19 Mar 2026 20:31:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=BC=BA=E6=91=98=E8=A6=81=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E8=AF=B4=E6=98=8E=E5=89=8D=E7=BC=80=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/platform_orders/index.blade.php | 2 +- ...aryJumpNoteShouldHaveVisiblePrefixTest.php | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 tests/Feature/AdminPlatformOrderSummaryJumpNoteShouldHaveVisiblePrefixTest.php diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index e2a1aff..6778fc2 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/AdminPlatformOrderSummaryJumpNoteShouldHaveVisiblePrefixTest.php b/tests/Feature/AdminPlatformOrderSummaryJumpNoteShouldHaveVisiblePrefixTest.php new file mode 100644 index 0000000..61c3764 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderSummaryJumpNoteShouldHaveVisiblePrefixTest.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_note_should_have_visible_prefix(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertStringContainsString('data-role="po-summary-jump-note-prefix"', $html); + $this->assertStringContainsString('说明:', $html); + } +}