androidx.test.espresso.base.AssertionErrorHandler$AssertionFailedWithCauseError: 'an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Existing Image File.jpg"' doesn't match the selected view.
Expected: an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Existing Image File.jpg"
Got: view.getText() was "Existing Image File.jp" transformed text was "Existing Image File.jp"
View Details: TextInputEditText{id=2131363291, res-name=user_input, visibility=VISIBLE, width=484, height=56, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=true, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=true, editor-info=[inputType=0x84001 imeOptions=0x4000006 privateImeOptions=null actionLabel=null actionId=0 initialSelStart=22 initialSelEnd=22 initialCapsMode=0x0 hintText=Name label=null packageName=null fieldId=0 fieldName=null extras=Bundle[{androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SELECTION_HEAD=22, androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SELECTION_END=22, androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SURROUNDING_TEXT=Existing Image File.jp}] hintLocales=null contentMimeTypes=null ], x=0.0, y=0.0, text=Existing Image File.jp, hint=Name, input-type=540673, ime-target=true, has-links=false}
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:1720)
at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:35)
at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:26)
at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)
at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)
at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:387)
at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366)
at com.owncloud.android.ui.activity.ReceiveExternalFilesActivityIT.renameSingleFileUpload(ReceiveExternalFilesActivityIT.kt:170)
... 36 trimmed
Caused by: junit.framework.AssertionFailedError: 'an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Existing Image File.jpg"' doesn't match the selected view.
Expected: an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Existing Image File.jpg"
Got: view.getText() was "Existing Image File.jp" transformed text was "Existing Image File.jp"
View Details: TextInputEditText{id=2131363291, res-name=user_input, visibility=VISIBLE, width=484, height=56, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=true, is-enabled=true, is-focused=true, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=false, has-input-connection=true, editor-info=[inputType=0x84001 imeOptions=0x4000006 privateImeOptions=null actionLabel=null actionId=0 initialSelStart=22 initialSelEnd=22 initialCapsMode=0x0 hintText=Name label=null packageName=null fieldId=0 fieldName=null extras=Bundle[{androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SELECTION_HEAD=22, androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SELECTION_END=22, androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_SURROUNDING_TEXT=Existing Image File.jp}] hintLocales=null contentMimeTypes=null ], x=0.0, y=0.0, text=Existing Image File.jp, hint=Name, input-type=540673, ime-target=true, has-links=false}
at androidx.test.espresso.matcher.ViewMatchers.assertThat(ViewMatchers.java:620)
at androidx.test.espresso.assertion.ViewAssertions$MatchesViewAssertion.check(ViewAssertions.java:97)
at androidx.test.espresso.ViewInteraction$SingleExecutionViewAssertion.check(ViewInteraction.java:488)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:346)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:319)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)