patternfly / patternfly/patternfly-react
CodeEditor - testing is needed for interactions with React Dropzone and the Monaco Editor
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
As mentioned in #7450 the Code Editor is lacking in test coverage based on our newly determined testing guidelines.
I anticipate the most difficult part of this issue will likely be determining how we should test certain aspects surrounding the Monaco Editor and React Dropzone libraries that we use.
Monaco seems to do something that makes entering text in its editor difficult using RTL, and React Dropzone has functions (such as its open function) which I'm not sure how would be best to test.
Jira Issue: PF-182
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 Code Editor 组件以及 #7450 中的测试指导,然后考察 React Testing Library 如何与 React Dropzone 和 Monaco Editor 交互。确定哪些交互需要覆盖,并根据项目的测试指南验证所得测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend, testing
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100