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

Combine semantic matchers from all ancestor nodes #28

Merged
merged 2 commits into from Apr 27, 2022

Conversation

AJIEKCX
Copy link

@AJIEKCX AJIEKCX commented Apr 5, 2022

No description provided.

Copy link
Member

@Vacxe Vacxe left a comment

Choose a reason for hiding this comment

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

LGTM. Happy to merge after all comments will be fixed

*/
private fun combineSemanticMatchers(): SemanticsMatcher {
val semanticsMatcherList = mutableListOf<SemanticsMatcher>()
var currentParent = this.parentNode
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to have non-current parent? Just past or next parent. In general can be just a parent

semanticsMatcherList.add(this.nodeMatcher.matcher)

return semanticsMatcherList.reduce { finalMatcher, matcher -> finalMatcher and matcher }
}
}
Copy link
Member

Choose a reason for hiding this comment

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

NL

Copy link
Contributor

Choose a reason for hiding this comment

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

what does "NL" mean?

val navigationButton: KNode = child {
hasTestTag("NavigateSecondScreenButton")
}
}
Copy link
Member

Choose a reason for hiding this comment

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

NL

val sharedWidget: SharedWidgetNode = child {
hasTestTag("SharedWidget")
}
}
Copy link
Member

Choose a reason for hiding this comment

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

NL

val title: KNode = child {
hasTestTag("SharedWidgetTitle")
}
}
Copy link
Member

Choose a reason for hiding this comment

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

NL

}
}
}
}
Copy link
Member

Choose a reason for hiding this comment

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

NL

private enum class NavigationScreen {
First,
Second
}
Copy link
Member

Choose a reason for hiding this comment

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

NL

@Vacxe Vacxe added this to the 0.0.2 milestone Apr 27, 2022
@Vacxe Vacxe modified the milestones: 0.0.2, 0.0.7 Apr 27, 2022
@Vacxe Vacxe merged commit 17f704f into KakaoCup:master Apr 27, 2022
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.

None yet

3 participants