Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chip doesn't set onClick label #2039

Closed
yschimke opened this issue Feb 17, 2024 · 0 comments · Fixed by #2040
Closed

Chip doesn't set onClick label #2039

yschimke opened this issue Feb 17, 2024 · 0 comments · Fixed by #2040

Comments

@yschimke
Copy link
Collaborator

                rule.onNodeWithText("Wednesday")
                    .assertIsDisplayed()
                    .assertHasClickAction()
                    .assertTouchHeightIsEqualTo(52.dp)

Fails with

java.lang.AssertionError: Failed to assert the following: (OnClick is defined)
Semantics of the node:
Node #20 at (l=23.0, t=253.0, r=419.0, b=357.0)px
Text = '[Wednesday]'
Role = 'Button'
ClearAndSetSemantics = 'true'
Has 3 siblings
Selector used: (Text + EditableText contains 'Wednesday' (ignoreCase: false))
@yschimke yschimke mentioned this issue Feb 19, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant