You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from Karumi 2.0 to Karumi 3.0.2, I get the following error when tried to record/verify the snapshot of screens with heightPixels >= 9000 (Which is used to take the snapshot of entire screen without having to scroll)
java.lang.RuntimeException: java.lang.IllegalStateException: View too large: (1440, 9000)
Function called - ViewHelpers.setupView(view)
.setExactHeightPx(screenHeight)
.setExactWidthPx(displayMetrics.widthPixels)
.layout()
where screenHeight = 9000 and displayMetrics.widthPixels returns 1440
The text was updated successfully, but these errors were encountered:
sahithi3390
changed the title
Karumi shot to support large views
Snapshot record/verify to support large views
Oct 14, 2019
Hi @sahithi3390 I'm afraid there is nothing we can do to fix this issue. The exception you are facing is not generated by our code but the Facebook's library code. You can see the exception here
After upgrading from Karumi 2.0 to Karumi 3.0.2, I get the following error when tried to record/verify the snapshot of screens with heightPixels >= 9000 (Which is used to take the snapshot of entire screen without having to scroll)
java.lang.RuntimeException: java.lang.IllegalStateException: View too large: (1440, 9000)
Function called - ViewHelpers.setupView(view)
.setExactHeightPx(screenHeight)
.setExactWidthPx(displayMetrics.widthPixels)
.layout()
where screenHeight = 9000 and displayMetrics.widthPixels returns 1440
The text was updated successfully, but these errors were encountered: