From ef3de632d3c8f8991e24bfe52ef935cabd05e4f3 Mon Sep 17 00:00:00 2001 From: DXC Date: Wed, 17 Jun 2026 08:58:29 +0800 Subject: [PATCH] =?UTF-8?q?smoke=EF=BC=9AL3=20step2=20=E6=96=AD=E8=A8=80?= =?UTF-8?q?=E4=BB=8E=20PlaceholderView=20=E6=9B=B4=E6=96=B0=E4=B8=BA=20Ste?= =?UTF-8?q?p2View=EF=BC=88=E5=8F=8D=E6=98=A0=2012=20=E4=B8=AA=20view=20?= =?UTF-8?q?=E5=B7=B2=E8=BF=81=E7=A7=BB=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _smoke_new_arch.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_smoke_new_arch.py b/_smoke_new_arch.py index 4b5cffa..4ba2e08 100644 --- a/_smoke_new_arch.py +++ b/_smoke_new_arch.py @@ -293,11 +293,11 @@ def smoke_e2e(): "mode=ndwi" in log_text, "→ 找 ['mode=ndwi']") - # ---- 切到 step2 占位 ---- + # ---- 切到 step2(真实 view,service 仍走占位) ---- win.nav_list.setCurrentRow(1) view_step2 = win._views.get("step2") - report("L3", "_views['step2'] 是占位 PlaceholderView", - type(view_step2).__name__ == "PlaceholderView", + report("L3", "_views['step2'] 是真实 Step2View(已迁移)", + type(view_step2).__name__ == "Step2View", f"type={type(view_step2).__name__}") # 清掉旧日志,重置 worker @@ -308,9 +308,9 @@ def smoke_e2e(): loop.exec_() log_text = win.log_text.toPlainText() - report("L3", "step2 占位日志含 Router 收到 step2 请求", + report("L3", "step2 真实 view 派发后日志含 Router 收到 step2 请求", "收到 step2 请求" in log_text) - report("L3", "step2 占位日志含 Service… not_implemented", + report("L3", "step2 service 走占位:日志含 Service… not_implemented", "not_implemented" in log_text, f"log 片段:{log_text[-200:]!r}")