AdevintaSpain / AdevintaSpain/Barista
assertDisplayed doesn't redirect the error to the current FailureHandler
未关闭
bug
wip
- 主要语言
- Kotlin
- 星标
- 1.7k
- 派生
- 119
- PR 合并指标
- 30 天内没有已合并 PR
描述
The catch in assetDisplayed is not right. When a view is not displayed (first case in the code), the error is absorbed by the SpyFailureHandler and never redirected to the default one.
This breaks the FailureHandler behaviour for things like taking screenshots on failure.
贡献指南
调研方向
Locate assertDisplayed and inspect the catch around the first not-displayed case and SpyFailureHandler. Reproduce the failure in the instrumentation-test path, then verify that the error reaches the current or default FailureHandler so failure screenshots still work.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, kotlin
- 领域
- mobile, testing
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100