Skip to content

feat(core): add failure message to uncompleted test result #1324

feat(core): add failure message to uncompleted test result

feat(core): add failure message to uncompleted test result #1324

Triggered via push November 14, 2023 09:39
Status Failure
Total duration 3m 29s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
TestResultsListenerTest.testSingleIncomplete(): vendor/vendor-android/src/test/kotlin/com/malinskiy/marathon/android/executor/listeners/TestResultsListenerTest.kt#L138
org.opentest4j.AssertionFailedError: expected to contain only:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]> but was:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]> elements not found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]> extra elements found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]>
ci
Process completed with exit code 1.
TestResultsListenerTest.testSingleIncomplete(): vendor/vendor-android/src/test/kotlin/com/malinskiy/marathon/android/executor/listeners/TestResultsListenerTest.kt#L138
org.opentest4j.AssertionFailedError: expected to contain only:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]> but was:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]> elements not found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]> extra elements found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]>