diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 3698d3c..8f34ceb 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -850,7 +850,7 @@ ])
已支付且无 payment_summary / payment_receipts,优先进入补回执治理集合
-
收费闭环优先:建议先处理该集合,再推进同步与批量动作。
+
收费闭环优先:建议先处理该集合,再推进同步与批量动作。
@include('admin.platform_orders._summary_text_link', [ 'role' => 'po-summary-link-view-receipt-orders', diff --git a/tests/Feature/AdminPlatformOrderReceiptSummaryCardFootnoteShouldHaveAriaLabelTest.php b/tests/Feature/AdminPlatformOrderReceiptSummaryCardFootnoteShouldHaveAriaLabelTest.php new file mode 100644 index 0000000..6126e27 --- /dev/null +++ b/tests/Feature/AdminPlatformOrderReceiptSummaryCardFootnoteShouldHaveAriaLabelTest.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_footnote_should_have_aria_label(): void + { + $this->loginAsPlatformAdmin(); + + $res = $this->get('/admin/platform-orders'); + $res->assertOk(); + + $html = (string) $res->getContent(); + $this->assertStringContainsString('data-role="po-summary-paid-no-receipt-footnote" aria-label="已付无回执摘要优先级说明"', $html); + } +}