Autodesk / Autodesk/react-base-table
Header Column title is not accessible when testing with @testing-library/react
未关闭
- 主要语言
- TypeScript
- 星标
- 1.5k
- 派生
- 170
- PR 合并指标
- 30 天内没有已合并 PR
描述
I tried to get header column title by getByText and also I saw the snapshot and none of my header column titles were in the snapshot. How can I access to header columns titles when testing ?
贡献指南
调研方向
首先使用 @testing-library/react 重现缺失的表头标题,并将渲染后的输出与 issue 中提到的 snapshot 进行比较。跟踪表格如何渲染列标题,并验证这些标题可以通过 testing-library query 访问,且会出现在 snapshot 中。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend, testing-qa
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100