refresh_after_viewer_test passes without opening a Viewer (every desk reply says pages=1)
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 72/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
研究方向
Start with tests/apps/refresh_after_viewer_test.py and run it through apptest tests/apps/refresh_after_viewer_test.py. Reproduce the missing Viewer using the reported log, then verify that tabs contains the Viewer and desk reports pages=2 before any tab is closed. Done means the test fails when the Viewer is absent—or explicitly skips for a documented environment limitation—and the reason the Viewer fails to start is identified.
由索引模型根據 Issue 內容生成。
描述
tests/apps/refresh_after_viewer_test.py passes without ever opening a
Viewer, which is the one thing it exists to test.
Run on beryllium through the offload runner
(apptest tests/apps/refresh_after_viewer_test.py, log
20261128-213413-wip_1349-timing-1006335.log), it printed PASSED with
every check ok, including
ok after the Viewer closed, the pane refreshed for LiF-1
while its own replies say no Viewer was ever there:
ECCE_TEST_ORGANIZER: tabs: 0:Organizer* menus=File,Edit,...
desk 0: desk 603x556 shown=1 splitter=858x556 sel=0 pages=1 ...
tabs lists only the Organizer, and every one of the five desk replies
reports pages=1. The test's scenario is: open a Viewer on a stored
calculation, close its tab, select another calculation and check the details
pane refreshed. With no Viewer and no tab, tabclose answers "no such tab",
and the remaining checks -- refreshtimes replies, desk shown, a notebook
selection, no hidden window -- are all satisfied by the Organizer alone.
So the test guards #1237 only on a machine where the Viewer does start.
Where it does not, it reports success and checks nothing of what it names.
The same shape has been found three times this week (#1301, #1309, #1347).
Two things needed:
- The test must FAIL when the Viewer does not open: assert
tabslists the
Viewer, and thatdeskreportspages=2, before closing anything. A
SKIP would be acceptable if the environment genuinely cannot run a Viewer,
but it must not be a PASS. - Find out WHY the Viewer does not start there. The Organizer answers
start CalculationViewer <url>with "requested" and nothing follows. It
may be that the host has no usable GL for the Open Inventor canvas, in
which case everyapps_*test that opens a Viewer is worth re-checking
for the same vacuity.
- 主要語言
- C
- 星號
- 10
- 分支
- 8
- 平均合併
- 6 小時 32 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
FriendsofECCE/ECCE 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
FriendsofECCE/ECCE#1353 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
FriendsofECCE/ECCE#1348 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
FriendsofECCE/ECCE#1345 ·
查看 FriendsofECCE/ECCE 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
vincentarelbundock/xtx#11 ·
-
難度 1/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 70/100
compiler-explorer/compiler-explorer#9738 ·
維護者通常 2 天內回覆
-
難度 1/5 1-3 小時 新手友好度 88/100
維護者通常 3 天內回覆
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values inside未關閉
難度 1/5 1 小時以內 新手友好度 92/100
kamgurgul/mib2q-carplay#74 ·