Fixed Failing tests for pinInputFieldStyledFocusState Flag advance
When attempting to turn on pinInputFieldStyledFocusState Flag ag/26151700 Test failures occured due to 1. the usage of JavaAdapter.collectFlow which under the hood calls view.repeatWhenAttached which should only be called from main thread but our tests were not calling this from mainthread. 2. Attempting to write a value to a null object gotten from acessing a mocked object's field(passwordTextView.layoutParams) Fixes: 316106516 Test: NA Flag: NA Change-Id: I078020dd7753e0f5c275c4a7572e5f5109847ad7
Loading
Please register or sign in to comment