fix: harden OriginOS recognition tracking

This commit is contained in:
2026-08-31 11:29:04 +08:00
parent 9ccbdfead4
commit 477f83c5b1
17 changed files with 980 additions and 108 deletions
+14 -2
View File
@@ -153,9 +153,21 @@ void main() {
);
expect(
RecognitionDiagnosticDisplay.from(
diagnostic('rejected', 'payment_input_page'),
diagnostic('waiting', 'payment_input_page'),
).summaryLabel,
'规则拒绝',
'等待结果页',
);
expect(
RecognitionDiagnosticDisplay.from(
diagnostic('waiting', 'payment_input_page'),
).reasonLabel,
'当前仍是付款输入或确认页面,等待结果页,不会提前入账',
);
expect(
RecognitionDiagnosticDisplay.from(
diagnostic('rejected', 'result_page_timeout'),
).reasonLabel,
'90 秒内未等到明确结果页,本次流程已停止追踪',
);
expect(
RecognitionDiagnosticDisplay.from(