已付无回执订单
@include('admin.platform_orders._summary_metric_link', [
diff --git a/tests/Feature/AdminPlatformOrderReceiptSummaryCardShouldHaveDataRoleAndAriaLabelTest.php b/tests/Feature/AdminPlatformOrderReceiptSummaryCardShouldHaveDataRoleAndAriaLabelTest.php
new file mode 100644
index 0000000..a9c8817
--- /dev/null
+++ b/tests/Feature/AdminPlatformOrderReceiptSummaryCardShouldHaveDataRoleAndAriaLabelTest.php
@@ -0,0 +1,32 @@
+seed();
+
+ $this->post('/admin/login', [
+ 'email' => 'platform.admin@demo.local',
+ 'password' => 'Platform@123456',
+ ])->assertRedirect('/admin');
+ }
+
+ public function test_paid_no_receipt_summary_card_should_have_data_role_and_aria_label(): void
+ {
+ $this->loginAsPlatformAdmin();
+
+ $res = $this->get('/admin/platform-orders');
+ $res->assertOk();
+
+ $html = (string) $res->getContent();
+ $this->assertStringContainsString('data-role="po-summary-card-paid-no-receipt" aria-label="已付无回执摘要卡"', $html);
+ }
+}