test: 更新BMPA失败原因TOP链接口径(默认失败集合/重试清理failed)
This commit is contained in:
@@ -69,10 +69,13 @@ class AdminPlatformOrderBmpaFailedReasonStatsLinksTest extends TestCase
|
||||
// 卡片标题
|
||||
$res->assertSee('批量标记支付并生效失败原因 TOP5');
|
||||
|
||||
// 点击原因 => 自动带上 bmpa_error_keyword
|
||||
$res->assertSee('/admin/platform-orders?bmpa_error_keyword=' . urlencode($reason), false);
|
||||
// 点击原因:默认落到失败集合(语义收敛:原因 => 失败集合)
|
||||
$res->assertSee('/admin/platform-orders?bmpa_failed_only=1&bmpa_error_keyword=' . urlencode($reason), false);
|
||||
|
||||
// 一键切到可处理集合重试 => 透传 pending+unpaid
|
||||
$res->assertSee('bmpa_error_keyword=' . urlencode($reason) . '&status=pending&payment_status=unpaid', false);
|
||||
// 一键切到可处理集合重试:
|
||||
// - 需携带 bmpa_processable_only=1
|
||||
// - 且必须清掉 bmpa_failed_only,避免 failed_only 与 processable_only 叠加冲突
|
||||
$res->assertSee('bmpa_error_keyword=' . urlencode($reason) . '&bmpa_processable_only=1', false);
|
||||
$res->assertDontSee('bmpa_failed_only=1&bmpa_error_keyword=' . urlencode($reason) . '&bmpa_processable_only=1', false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user