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

MBS-12172 uiDevice lazy initialization #1292

Merged
merged 2 commits into from
Nov 30, 2021

Conversation

RuslanMingaliev
Copy link
Contributor

Robolectric tests throw

Caused by: java.lang.NullPointerException
	at androidx.test.uiautomator.QueryController.<init>(QueryController.java:95)
	at androidx.test.uiautomator.UiDevice.<init>(UiDevice.java:109)
	at androidx.test.uiautomator.UiDevice.getInstance(UiDevice.java:261)
	at com.avito.android.test.Device.<clinit>(Device.kt:37)

when calling rotate or pressBack

@RuslanMingaliev RuslanMingaliev enabled auto-merge (squash) November 30, 2021 09:10
@RuslanMingaliev RuslanMingaliev merged commit e033894 into develop Nov 30, 2021
@RuslanMingaliev RuslanMingaliev deleted the MBS-12172-device-lazy-initialization branch November 30, 2021 09:44
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

2 participants