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

feat: Add scope support to data matchers #825

Merged
merged 6 commits into from
Oct 15, 2022

Conversation

mykola-mokhnach
Copy link
Contributor

No description provided.

Comment on lines 185 to +203
{
"name": "is", "args": {
"name": "instanceOf", "args": "Cursor.class"
},
"name": "CursorMatchers.withRowString", "args": [
"job_title", {"name": "is", "args": "Barista"}
]
"name": "anyOf",
"args": [
{
"name": "is",
"args": {"name": "instanceOf", "args": "Cursor.class"}
}, {
"name": "withRowString",
"args": [
"job_title",
{"name": "is", "args": "Barista"}
],
"class": "androidx.test.espresso.matcher.CursorMatchers"
}
],
"scope": {
"name": "isDialog",
"class": "androidx.test.espresso.matcher.RootMatchers"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mykola-mokhnach mykola-mokhnach merged commit fd2c747 into appium:master Oct 15, 2022
@mykola-mokhnach mykola-mokhnach deleted the data_root branch October 15, 2022 19:25
github-actions bot pushed a commit that referenced this pull request Oct 15, 2022
# [2.12.0](v2.11.0...v2.12.0) (2022-10-15)

### Bug Fixes

* Properly fetch view interaction if it was found under a root ([#824](#824)) ([deeb296](deeb296))

### Features

* Add scope support to data matchers ([#825](#825)) ([fd2c747](fd2c747))
@github-actions
Copy link

🎉 This PR is included in version 2.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants