chore(deps): update actions/checkout digest to 11bd719 #253
GitHub Actions / JUnit Test Report
failed
Nov 13, 2024 in 0s
16 tests run, 15 passed, 0 skipped, 1 failed.
Annotations
github-actions / JUnit Test Report
ConnectionErrorTest.given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown
com.adevinta.android.barista.internal.failurehandler.BaristaException: View (view.getId() is <2131296380/org.owntracks.android.debug:id/connectedStatusMessage>) didn't match condition ((an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?"))))
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
Raw output
com.adevinta.android.barista.internal.failurehandler.BaristaException: View (view.getId() is <2131296380/org.owntracks.android.debug:id/connectedStatusMessage>) didn't match condition ((an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?"))))
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
at com.adevinta.android.barista.internal.AssertAnyKt.assertAnyView(AssertAny.kt:42)
at com.adevinta.android.barista.internal.AssertAnyKt.assertAny(AssertAny.kt:18)
at com.adevinta.android.barista.assertion.BaristaVisibilityAssertions.assertContains(BaristaVisibilityAssertions.kt:99)
at com.adevinta.android.barista.assertion.BaristaVisibilityAssertions.assertContains(BaristaVisibilityAssertions.kt:105)
at org.owntracks.android.ui.ConnectionErrorTest$given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown$1.invoke(ConnectionErrorTest.kt:113)
at org.owntracks.android.ui.ConnectionErrorTest$given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown$1.invoke(ConnectionErrorTest.kt:109)
at org.owntracks.android.ui.ConnectionErrorTestKt.use(ConnectionErrorTest.kt:248)
at org.owntracks.android.ui.ConnectionErrorTestKt.access$use(ConnectionErrorTest.kt:1)
at org.owntracks.android.ui.ConnectionErrorTest.given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown(ConnectionErrorTest.kt:109)
... 44 trimmed
Caused by: junit.framework.AssertionFailedError: '(an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?")))' doesn't match the selected view.
Expected: (an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?")))
Got: was <com.google.android.material.textview.MaterialTextView{28fcac5 V.ED..... ......I. 0,0-0,0 #7f09007c app:id/connectedStatusMessage}>
View Details: MaterialTextView{id=2131296380, res-name=connectedStatusMessage, visibility=VISIBLE, width=0, height=0, 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=true, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@5cf8e5d, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=, input-type=0, ime-target=false, has-links=false}
at androidx.test.espresso.matcher.ViewMatchers.assertThat(ViewMatchers.java:16)
at androidx.test.espresso.assertion.ViewAssertions$MatchesViewAssertion.check(ViewAssertions.java:11)
at androidx.test.espresso.ViewInteraction$SingleExecutionViewAssertion.check(ViewInteraction.java:2)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:12)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Loading