ui(platform-orders): refund inconsistent fix link anchors to refund section
This commit is contained in:
@@ -52,9 +52,10 @@ class AdminPlatformOrderIndexRefundInconsistentFixLinkShouldPointToAddRefundRece
|
||||
|
||||
$html = (string) $res->getContent();
|
||||
|
||||
// 退款不一致集合里,行内“去核对退款”应直达追加退款回执面板(#add-refund-receipt)。
|
||||
// 退款不一致集合里,行内“去核对退款”应锚定到退款区块(#refund-receipts),避免误打开“追加退款记录”面板。
|
||||
// 原因:核对退款包含查看轨迹/核对金额/再决定是否追加记录,不等于直接追加。
|
||||
$this->assertStringContainsString('疑似不一致', $html);
|
||||
$this->assertStringContainsString('/admin/platform-orders/' . $order->id, $html);
|
||||
$this->assertStringContainsString('#add-refund-receipt', $html);
|
||||
$this->assertStringContainsString('#refund-receipts', $html);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user