fix: harden OriginOS recognition tracking
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user