smoke:L3 step2 断言从 PlaceholderView 更新为 Step2View(反映 12 个 view 已迁移)
This commit is contained in:
@ -293,11 +293,11 @@ def smoke_e2e():
|
|||||||
"mode=ndwi" in log_text,
|
"mode=ndwi" in log_text,
|
||||||
"→ 找 ['mode=ndwi']")
|
"→ 找 ['mode=ndwi']")
|
||||||
|
|
||||||
# ---- 切到 step2 占位 ----
|
# ---- 切到 step2(真实 view,service 仍走占位) ----
|
||||||
win.nav_list.setCurrentRow(1)
|
win.nav_list.setCurrentRow(1)
|
||||||
view_step2 = win._views.get("step2")
|
view_step2 = win._views.get("step2")
|
||||||
report("L3", "_views['step2'] 是占位 PlaceholderView",
|
report("L3", "_views['step2'] 是真实 Step2View(已迁移)",
|
||||||
type(view_step2).__name__ == "PlaceholderView",
|
type(view_step2).__name__ == "Step2View",
|
||||||
f"type={type(view_step2).__name__}")
|
f"type={type(view_step2).__name__}")
|
||||||
|
|
||||||
# 清掉旧日志,重置 worker
|
# 清掉旧日志,重置 worker
|
||||||
@ -308,9 +308,9 @@ def smoke_e2e():
|
|||||||
loop.exec_()
|
loop.exec_()
|
||||||
|
|
||||||
log_text = win.log_text.toPlainText()
|
log_text = win.log_text.toPlainText()
|
||||||
report("L3", "step2 占位日志含 Router 收到 step2 请求",
|
report("L3", "step2 真实 view 派发后日志含 Router 收到 step2 请求",
|
||||||
"收到 step2 请求" in log_text)
|
"收到 step2 请求" in log_text)
|
||||||
report("L3", "step2 占位日志含 Service… not_implemented",
|
report("L3", "step2 service 走占位:日志含 Service… not_implemented",
|
||||||
"not_implemented" in log_text,
|
"not_implemented" in log_text,
|
||||||
f"log 片段:{log_text[-200:]!r}")
|
f"log 片段:{log_text[-200:]!r}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user