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

Add null check in childNafCheck to handle case when child node is null #2172

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

Leland-Takamine
Copy link
Contributor

Seeing this NPE show up in Maestro Cloud and Robin. Incorporating this AOSP fix that didn't exist when the code was copied over into Maestro: https://android-review.googlesource.com/c/platform/frameworks/support/+/2631315/2/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/AccessibilityNodeInfoDumper.java

@amanjeetsingh150
Copy link
Collaborator

amanjeetsingh150 commented Dec 4, 2024

Nice 🙌 Can you run:

./gradlew :maestro-android:assemble
./gradlew :maestro-android:assembleAndroidTest

That should copy the new servers and host APKs to the directories itself. We should probably automate this, will create a ticket for this.

@Fishbowler
Copy link
Contributor

When you get those binaries in, the E2E Test should pass, right?

@amanjeetsingh150
Copy link
Collaborator

When you get those binaries in, the E2E Test should pass, right?

Correct right now the driver is not updated. Good idea to update it and see if it's not there anymore in E2E tests. I see that its actually reproducible here as well.

@Fishbowler Fishbowler merged commit 8dfaf10 into main Dec 4, 2024
8 checks passed
@Fishbowler Fishbowler deleted the fix-accessibility-node-npe branch December 4, 2024 11:37
rasyid7 pushed a commit to rasyid7/maestro that referenced this pull request Dec 9, 2024
mobile-dev-inc#2172)

* Add null check in childNafCheck to handle case when child node is null

* Update build artefacts

---------

Co-authored-by: Dan Caseley <[email protected]>
rasyid7 pushed a commit to rasyid7/maestro that referenced this pull request Dec 9, 2024
mobile-dev-inc#2172)

* Add null check in childNafCheck to handle case when child node is null

* Update build artefacts

---------

Co-authored-by: Dan Caseley <[email protected]>
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.

4 participants