diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 6b5c97b..ea55070 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -109,7 +109,7 @@ 筛选条件 摘要概览 工具区 - 订单列表 + 订单列表 回顶部
diff --git a/tests/Feature/AdminPlatformOrderIndexPageJumpListShouldMatchNavigationTitleStyleTest.php b/tests/Feature/AdminPlatformOrderIndexPageJumpListShouldMatchNavigationTitleStyleTest.php new file mode 100644 index 0000000..b00d3e3 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderIndexPageJumpListShouldMatchNavigationTitleStyleTest.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_page_jump_list_should_match_navigation_title_style(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertStringContainsString('data-role="po-page-jump-list"', $html); + $this->assertStringContainsString('title="回到订单列表查看当前明细"', $html); + } +}