Chore: Run Android End to End Tests on Self-Hosted Github Runners #55
Android End To End Test Results ❌
❌ test-outputs/core-modules-test/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest.xml
1 tests were completed in 22s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest | 1❌ | 22s |
❌ de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest
❌ sync server time
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.IOException: unexpected end of stream on http://localhost:8080/...
❌ test-outputs/course-registration/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest.xml
1 tests were completed in 27s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest | 1❌ | 27s |
❌ de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest
❌ can successfully register in course
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
❌ test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest.xml
1 tests were completed in 28s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest | 1❌ | 28s |
❌ de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest
❌ displays correct course title
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
❌ test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest.xml
4 tests were completed in 742ms with 0 passed, 2 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest | 2❌ | 2⚪ | 742ms |
❌ de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest
⚪ display programing exercise
⚪ display quiz exercise
❌ display text exercise
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
❌ display modeling exercise
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
❌ test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest.xml
1 tests were completed in 199ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest | 1❌ | 199ms |
❌ de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest
❌ displays created lecture
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
❌ test-outputs/dashboard/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest.xml
1 tests were completed in 27s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest | 1❌ | 27s |
❌ de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest
❌ shows created course in course list
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
Annotations
github-actions / Android End To End Test Results
de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest ► sync server time
Failed test found in:
test-outputs/core-modules-test/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest.xml
Error:
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.IOException: unexpected end of stream on http://localhost:8080/...
Raw output
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.IOException: unexpected end of stream on http://localhost:8080/...
at de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse.orThrow(NetworkResponse.kt:43)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt.performTestLogin(TestLoginUtil.kt:34)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt$performTestLogin$1.invokeSuspend(TestLoginUtil.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:28)
at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:103)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:320)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:13)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:308)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:166)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:158)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
at de.tum.informatics.www1.artemis.native_app.feature.coremodulestest.SyncServerTimeE2eTest.sync server time(SyncServerTimeE2eTest.kt:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.robolectric.internal.TimeLimitedStatement.evaluate(TimeLimitedStatement.java:38)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:589)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Android End To End Test Results
de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest ► can successfully register in course
Failed test found in:
test-outputs/course-registration/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest.xml
Error:
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
Raw output
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
at de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse.orThrow(NetworkResponse.kt:43)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt.performTestLogin(TestLoginUtil.kt:34)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt$performTestLogin$1.invokeSuspend(TestLoginUtil.kt)
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
at de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest$setup$1.invokeSuspend(CourseRegistrationE2eTest.kt:62)
Caused by: java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
at de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse.orThrow(NetworkResponse.kt:43)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt.performTestLogin(TestLoginUtil.kt:34)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt$performTestLogin$1.invokeSuspend(TestLoginUtil.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at de.tum.informatics.www1.artemis.native_app.feature.courseregistration.CourseRegistrationE2eTest.setup(CourseRegistrationE2eTest.kt:61)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:272)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:271)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$AndroidComposeUiTestImpl.withDisposableContent(ComposeUiTest.android.kt:491)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1$1.invoke(ComposeUiTest.android.kt:323)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withComposeIdlingResource(ComposeUiTest.android.kt:375)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withComposeIdlingResource(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1.invoke(ComposeUiTest.android.kt:322)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withWindowRecomposer(ComposeUiTest.android.kt:349)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withWindowRecomposer(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1.invoke(ComposeUiTest.android.kt:321)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withTestCoroutines(ComposeUiTest.android.kt:362)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withTestCoroutines(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1.invoke(ComposeUiTest.android.kt:320)
at androidx.compose.ui.test.junit4.IdlingStrategy.withStrategy(IdlingStrategy.android.kt:52)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1.invoke(ComposeUiTest.android.kt:319)
at androidx.compose.ui.test.junit4.IdlingResourceRegistry.withRegistry(IdlingResourceRegistry.jvm.kt:157)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1.invoke(ComposeUiTest.android.kt:318)
at androidx.compose.ui.test.junit4.ComposeRootRegistry.withRegistry(ComposeRootRegistry.android.kt:146)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.runTest(ComposeUiTest.android.kt:317)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1.evaluate(AndroidComposeTestRule.android.kt:271)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:589)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Android End To End Test Results
de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest ► displays correct course title
Failed test found in:
test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.CourseOverviewE2eTest.xml
test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest.xml
test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.ExerciseListOverviewE2eTest.xml
test-outputs/course-view/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.courseview.LectureListE2eTest.xml
Error:
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
Raw output
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
at de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse.orThrow(NetworkResponse.kt:43)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt.performTestLogin(TestLoginUtil.kt:34)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt$performTestLogin$1.invokeSuspend(TestLoginUtil.kt)
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
at de.tum.informatics.www1.artemis.native_app.feature.courseview.BaseCourseTest$setup$1.invokeSuspend(BaseCourseTest.kt:58)
Caused by: java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
at de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse.orThrow(NetworkResponse.kt:43)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt.performTestLogin(TestLoginUtil.kt:34)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt$performTestLogin$1.invokeSuspend(TestLoginUtil.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at de.tum.informatics.www1.artemis.native_app.feature.courseview.BaseCourseTest.setup(BaseCourseTest.kt:57)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:272)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:271)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$AndroidComposeUiTestImpl.withDisposableContent(ComposeUiTest.android.kt:491)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1$1.invoke(ComposeUiTest.android.kt:323)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withComposeIdlingResource(ComposeUiTest.android.kt:375)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withComposeIdlingResource(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1.invoke(ComposeUiTest.android.kt:322)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withWindowRecomposer(ComposeUiTest.android.kt:349)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withWindowRecomposer(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1.invoke(ComposeUiTest.android.kt:321)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withTestCoroutines(ComposeUiTest.android.kt:362)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withTestCoroutines(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1.invoke(ComposeUiTest.android.kt:320)
at androidx.compose.ui.test.junit4.IdlingStrategy.withStrategy(IdlingStrategy.android.kt:52)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1.invoke(ComposeUiTest.android.kt:319)
at androidx.compose.ui.test.junit4.IdlingResourceRegistry.withRegistry(IdlingResourceRegistry.jvm.kt:157)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1.invoke(ComposeUiTest.android.kt:318)
at androidx.compose.ui.test.junit4.ComposeRootRegistry.withRegistry(ComposeRootRegistry.android.kt:146)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.runTest(ComposeUiTest.android.kt:317)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1.evaluate(AndroidComposeTestRule.android.kt:271)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:589)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Android End To End Test Results
de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest ► shows created course in course list
Failed test found in:
test-outputs/dashboard/testProductionTumReleaseUnitTest/TEST-de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest.xml
Error:
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
Raw output
java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
at de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse.orThrow(NetworkResponse.kt:43)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt.performTestLogin(TestLoginUtil.kt:34)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt$performTestLogin$1.invokeSuspend(TestLoginUtil.kt)
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
at de.tum.informatics.www1.artemis.native_app.core.test.BaseComposeTest$runBlockingWithTestTimeout$1.invokeSuspend(BaseComposeTest.kt:26)
Caused by: java.lang.RuntimeException: Network Response does not contain response: Login not successful; exception = java.io.EOFException: Failed to parse HTTP response: unexpected EOF
at de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse.orThrow(NetworkResponse.kt:43)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt.performTestLogin(TestLoginUtil.kt:34)
at de.tum.informatics.www1.artemis.native_app.feature.login.test.TestLoginUtilKt$performTestLogin$1.invokeSuspend(TestLoginUtil.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at de.tum.informatics.www1.artemis.native_app.core.test.BaseComposeTest.runBlockingWithTestTimeout(BaseComposeTest.kt:25)
at de.tum.informatics.www1.artemis.native_app.feature.dashboard.DashboardE2eTest.setup(DashboardE2eTest.kt:48)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:272)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:271)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$AndroidComposeUiTestImpl.withDisposableContent(ComposeUiTest.android.kt:491)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1$1.invoke(ComposeUiTest.android.kt:323)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withComposeIdlingResource(ComposeUiTest.android.kt:375)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withComposeIdlingResource(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1.invoke(ComposeUiTest.android.kt:322)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withWindowRecomposer(ComposeUiTest.android.kt:349)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withWindowRecomposer(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1.invoke(ComposeUiTest.android.kt:321)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withTestCoroutines(ComposeUiTest.android.kt:362)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withTestCoroutines(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1.invoke(ComposeUiTest.android.kt:320)
at androidx.compose.ui.test.junit4.IdlingStrategy.withStrategy(IdlingStrategy.android.kt:52)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1.invoke(ComposeUiTest.android.kt:319)
at androidx.compose.ui.test.junit4.IdlingResourceRegistry.withRegistry(IdlingResourceRegistry.jvm.kt:157)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1.invoke(ComposeUiTest.android.kt:318)
at androidx.compose.ui.test.junit4.ComposeRootRegistry.withRegistry(ComposeRootRegistry.android.kt:146)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.runTest(ComposeUiTest.android.kt:317)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1.evaluate(AndroidComposeTestRule.android.kt:271)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:589)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)