Sto eseguendo il test seguente per convalidare il testo sullo schermo, Il testo è presente sulla vista ma è necessario scorrere la pagina per vedere il testo manualmente.Come scorrere lo schermo nel test del caffè espresso Android? Devo convalidare il testo presente sullo schermo
L'errore seguente è in arrivo, tuttavia il testo è presente sulla vista ma è necessario scorrere la pagina per visualizzare il testo manualmente.
android.support.test.espresso.base.DefaultFailureHandler$AssertionFailedWithCauseError: 'is displayed on the screen to the user' doesn't match the selected view. Expected: is displayed on the screen to the user Got: "TextView{id=2131361941, res-name=project_details_label_tv, visibility=VISIBLE, width=249, height=41, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=4.0, y=24.0, text=Status, input-type=0, ime-target=false, has-links=false}"
ho risposto ad una domanda che farà proprio questo qui - http://stackoverflow.com/questions/28218155/espresso-how-to-do-custom-swipe-eg-swipetop-or-swipebottom/42399407 # 42399407 ... – Nefariis