对账不一致
退款不一致
近24小时批量同步
diff --git a/tests/Feature/AdminPlatformOrderQuickFiltersGroupsShouldHaveDataRoleTest.php b/tests/Feature/AdminPlatformOrderQuickFiltersGroupsShouldHaveDataRoleTest.php
new file mode 100644
index 0000000..68de264
--- /dev/null
+++ b/tests/Feature/AdminPlatformOrderQuickFiltersGroupsShouldHaveDataRoleTest.php
@@ -0,0 +1,34 @@
+seed();
+
+ $this->post('/admin/login', [
+ 'email' => 'platform.admin@demo.local',
+ 'password' => 'Platform@123456',
+ ])->assertRedirect('/admin');
+ }
+
+ public function test_platform_orders_quick_filter_groups_should_have_data_role(): void
+ {
+ $this->loginAsPlatformAdmin();
+
+ $res = $this->get('/admin/platform-orders');
+ $res->assertOk();
+
+ $html = (string) $res->getContent();
+ $this->assertStringContainsString('data-role="po-quickfilter-primary-group"', $html);
+ $this->assertStringContainsString('data-role="po-quickfilter-receipt-refund-group"', $html);
+ $this->assertStringContainsString('data-role="po-quickfilter-governance-batch-group"', $html);
+ }
+}