Loading the same image a second time makes views black
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- frontend, testing-qa
调研方向
从以 ../pageobjects/volview.page 导入的 VolView 页面对象和提供的 Image Reload Bug 测试开始,尤其关注 downloadProstateSample() 和 waitForViews()。运行复现并比较第一次和第二次 layout-container 截图;当加载前列腺样本两次后视图仍保持渲染状态,且两项视觉检查都低于阈值时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
This test reproduced it
import { volViewPage } from '../pageobjects/volview.page';
describe('Image Reload Bug', () => {
it('should properly render when loading the same image twice', async () => {
await volViewPage.open();
// First click on prostate sample
await volViewPage.downloadProstateSample();
await volViewPage.waitForViews();
const layoutContainer = await $('.layout-container');
const firstLoadResult = await browser.checkElement(
layoutContainer,
'first_load_rendering'
);
const THRESHOLD = 11;
expect(firstLoadResult).toBeLessThan(THRESHOLD);
// Second click on prostate sample
// Need to reopen the samples panel first since it closes after selection
// Look for the Sample Data expansion panel title and click it
const sampleDataPanelTitle = await $('span=Sample Data').parentElement();
await sampleDataPanelTitle.click();
// Wait for the samples list to be visible
await browser.waitUntil(
async () => {
const samplesList = await volViewPage.samplesList;
return samplesList.isDisplayed();
},
{
timeout: 5000,
timeoutMsg: 'Expected samples list to be visible after reopening panel',
}
);
// Click prostate sample again
await volViewPage.downloadProstateSample();
await volViewPage.waitForViews();
await browser.pause(2000);
const secondLoadResult = await browser.checkElement(
layoutContainer,
'second_load_rendering'
);
expect(secondLoadResult).toBeLessThan(THRESHOLD);
});
});
- 主要语言
- TypeScript
- 星标
- 303
- 派生
- 102
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Kitware/VolView 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 50/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 62/100
Kitware/VolView#869 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
维护者通常 1 天内回复
相似的 Issue
-
[Bug] The clients language filter cannot select the rows the page labels as unknown可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6103 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
cockpit-project/cockpit-machines#2835 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
cloudflare/kumo#866 ·
维护者通常 1 天内回复
-
area:connector bug
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
autoInject recall silently drops memory injection on long / non-Latin prompts (HTTP 400 Query too long)可能已有人在做 @Epsilon006 今天认领。 未关闭integration:coding-agents
难度 2/5 1-3 小时 新手友好度 72/100
vectorize-io/hindsight#5476 · 1 条评论 ·
维护者通常 1 天内回复