<SearchBar/> in Android does not show the testID

未关闭
#3,926 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
react-native
领域
mobile

调研方向

Start by locating the implementation in @rneui/base and reproduce the Android behavior with the provided testID in Appium Inspector or an E2E tool. Compare the Android result with the stated iOS behavior and verify that the inspected component exposes resource-id=mapSearchBar when the issue is fixed.

由索引模型根据 Issue 内容生成。

描述

Needs Triage
Is there an existing issue for this?
  • I have searched the existing issues
Explain what you did
<SearchBar  testID="mapSearchBar" />
Expected behavior

Should see the component with resource-id=mapSearchBar in the appium inspector.

Describe the bug

The appium inspector did show the component but not with resource-id=mapSearchBar. It worked in iOS simulator.

Steps To Reproduce
  1. using the code <SearchBar testID="mapSearchBar" />
  2. open inspector (or E2E tool)
  3. inspect the element
Screenshots
image
Your Environment
`npx @rneui/envinfo` React Native Elements Env Info
    ## Global Dependencies:
    
       No related dependency found
    
    ## Local Dependencies:
    
     - @rneui/base : ^4.0.0-rc.8
     - @rneui/themed : ^4.0.0-rc.8
     - react : 17.0.1
     - react-native : 0.64.4
other details
  • node.js v16.20.2
  • android 13.0(tiramisu) arm64 API 33
主要语言
MDX
星标
25.9k
派生
4.7k
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

react-native-elements/react-native-elements 的其他 Issue

查看 react-native-elements/react-native-elements 的全部 Issue

相似的 Issue

更多 Mobile Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。