Skip to content

FeatureHighlight throws error on android when not passing testId as parameter. #1665

Closed
@MuhammedKpln

Description

@MuhammedKpln

Describe the bug

FeatureHighlight throws error on android when not passing testId as parameter on the component that you want it to be highlighted. You can see error details in #1487.

To Reproduce

  1. Create a view that you want to highlight
  2. Add view to targets array via ref.
  3. Try to render it via feature highlight
  4. You will see that it will throw an error

Expected behavior

It should render even tho you not passing testId parameter to it.

Code snippet

<View ref={r => addTarget(r, 0)} style={{ opacity: 1 }} testID={'HighlightView'}>

Device (please complete the following information)

  • Device: Android Simulator
  • OS: Android 11 / Android 10

Metadata

Metadata

Assignees

Labels

buga bug in one of the componentswontfix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions