diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 063d0db..f5b849e 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -1198,7 +1198,7 @@
当前工具区承载导出、批量治理与失败标记清理,请先缩小筛选范围再执行动作。
-
+
导出 批量同步 批量BMPA diff --git a/tests/Feature/AdminPlatformOrderIndexToolGridJumpLinksShouldHaveAriaLabelTest.php b/tests/Feature/AdminPlatformOrderIndexToolGridJumpLinksShouldHaveAriaLabelTest.php new file mode 100644 index 0000000..ab5d701 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderIndexToolGridJumpLinksShouldHaveAriaLabelTest.php @@ -0,0 +1,32 @@ +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_aria_label(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertStringContainsString('data-role="po-tools-grid-jump-links" aria-label="平台订单工具区快速定位导航"', $html); + } +}