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

Assert content description #308

Merged
merged 8 commits into from
Jun 25, 2019
Merged

Assert content description #308

merged 8 commits into from
Jun 25, 2019

Conversation

alorma
Copy link
Member

@alorma alorma commented Jun 17, 2019

This PR tries to fix: #304

Add content description assertion, working on images, texts... any view :D

@alorma alorma requested a review from a team June 17, 2019 09:49
@alorma
Copy link
Member Author

alorma commented Jun 25, 2019

@EsteveAguilera ?

@alorma alorma force-pushed the assert_content_description branch from 6b29c64 to fe2ae11 Compare June 25, 2019 10:50
@EsteveAguilera
Copy link
Contributor

What about adding tests to check that it fails when the view has no content description?

@EsteveAguilera
Copy link
Contributor

Oh, and I've removed the content description on an ImageView to check that the tests are failing, and I've got a confusing error message:

didn't match condition (with no content description)

Shouldn't it be didn't match condition (with content description)?

@alorma
Copy link
Member Author

alorma commented Jun 25, 2019

Updated!

@EsteveAguilera
Copy link
Contributor

👏 @alorma, now it's a 👍for me!

@alorma alorma merged commit e9c44f2 into master Jun 25, 2019
@alorma alorma deleted the assert_content_description branch June 25, 2019 15:30
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 this pull request may close these issues.

Feature request: clickOn image should be able to take a string to match contentDescription
2 participants