Add React Testing Library component tests and expand Playwright regression coverage
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- javascript, playwright, react
调研方向
Start from existing vitest coverage in utils.spec.ts and the Playwright smoke tests, then map custom hooks such as useExtensionDetail, ExtensionRegistryService, and page-level conditional rendering. Add RTL/jsdom tests for project-owned logic (not MUI) and fill the most regression-prone UI flows. Extract testing and feature-implementation guidance from webui/AGENTS.md into skill files, including when to test and updating CHANGELOG.md under ## [next]. Done means new tests run in CI and the skill files are referenced instead of the inline blob.
由索引模型根据 Issue 内容生成。
描述
Now that we've migrated to vitest (#1914), the groundwork is there but coverage is still limited to pure utility functions in utils.spec.ts. A contributor can refactor a hook, change business logic in a page component, or break how data flows through the registry service — and CI won't catch it.
Component/hook testing: vitest already supports jsdom, and with React Testing Library we could start covering the logic that's actually ours to own — custom hooks like useExtensionDetail, service layer behaviour in ExtensionRegistryService, and data-driven conditional rendering in page components. The goal wouldn't be testing MUI itself, but the decisions our code makes.
Playwright coverage: the existing smoke tests cover some critical paths, but there are likely flows that have broken in the past and gone undetected until someone noticed manually. It'd be worth identifying which areas feel most regression-prone and whether there are gaps worth filling.
Separately, webui/AGENTS.md currently embeds all agent guidance inline. As that grows it would be worth extracting the testing and feature implementation knowledge into dedicated skill files that agents can reference:
- A testing skill — when to write tests and when not to (e.g. don't test MUI rendering, do test custom hooks and service logic), what tools to use, and how to structure test files.
- A feature implementation skill — the general workflow for shipping a feature: when to add tests (referencing the testing skill), and the requirement to update
CHANGELOG.mdunder## [next].
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 362
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 44
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-openvsx/openvsx 的其他 Issue
-
`ovsx verify` fails for a version older than the 100 newest of an extension可能已有人在做 @trivikr 今天认领。 未关闭cli
难度 2/5 1-3 小时 新手友好度 81/100
eclipse-openvsx/openvsx#2482 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
eclipse-openvsx/openvsx#2469 ·
维护者通常 1 天内回复
-
cli
难度 2/5 1-3 小时 新手友好度 66/100
eclipse-openvsx/openvsx#2423 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
eclipse-openvsx/openvsx#2476 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
eclipse-openvsx/openvsx#2439 · 2 条评论 ·
维护者通常 1 天内回复
查看 eclipse-openvsx/openvsx 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
Magic-team-jvav/confluence#281 ·
-
area/dependencies area/dependencies/js backport/26.6 backport/26.8 kind/cve severity/medium source/scan-dependencies status/triage
难度 1/5 1 小时以内 新手友好度 67/100
维护者通常 2 天内回复
-
[DEFECT] AsciiDoc builders write a stray ## before every schema member when the namespace prefixes file binds the schema's own namespace可能已有人在做 @Beehtrix 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
cimug-org/CIMTool#427 · 1 条评论 ·
维护者通常 1 天内回复
-
userRaised
难度 2/5 1-3 小时 新手友好度 76/100
eclipse-openj9/openj9#25285 ·
维护者通常 1 天内回复
-
Range type (eg Condition.onsetRange) fails IPS $summary + Observation.valueQuantity only render value in narrative可能已有人在做 @xmhorsehead 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
hapifhir/hapi-fhir#8952 · 2 条评论 ·
维护者通常 1 天内回复