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

[Support] add predicate_string #3

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

agileseph
Copy link
Collaborator

This PR dedicated to adding predicate_string Query specifier. So it allows using matchingPredicate in a natural way as XCTest provides it with XCUIElementQuery class. The predicate will be evaluated against objects of type id.
The basic negative use cases include:

  1. If an attribute used incorrectly in predicate string, the app is crashed. So validator should be added a bit later.
  2. if the syntax is incorrect for elementType attribute, the user receives expected error with example.
  3. if an element type specified incorrect, the user receives expected error about incorrect type.

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.

1 participant