Skip to content

Instantly share code, notes, and snippets.

View AaronMT's full-sized avatar
👾
Hacking

Aaron Train AaronMT

👾
Hacking
View GitHub Profile
[task 2020-04-22T17:59:33.320Z] 5m 50s matrix-1bbsdnipvmr70 Pixel2-28 FINISHED
[task 2020-04-22T17:59:46.865Z] 6m 4s matrix-1bbsdnipvmr70 FINISHED
[task 2020-04-22T17:59:46.865Z]
[task 2020-04-22T17:59:46.867Z] FetchArtifacts
[task 2020-04-22T17:59:55.485Z] .................................................
[task 2020-04-22T17:59:55.485Z] Updating matrix file
[task 2020-04-22T17:59:55.485Z]
[task 2020-04-22T17:59:56.096Z] java.lang.IllegalStateException: response.testCases must not be null
[task 2020-04-22T17:59:56.096Z] at ftl.reports.api.CreateTestExecutionDataKt.createTestExecutionData(CreateTestExecutionData.kt:34)
[task 2020-04-22T17:59:56.096Z] at ftl.reports.api.CreateTestExecutionDataKt$createTestExecutionData$1.invokeSuspend(CreateTestExecutionData.kt)
┌───────────────────┬──────────┬─────────────────────────────────────┬─────────┬─────────────┬──────────────────────┬──────┐
│ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │
├───────────────────┼──────────┼─────────────────────────────────────┼─────────┼─────────────┼──────────────────────┼──────┤
│ Nexus10 │ Samsung │ Nexus 10 │ VIRTUAL │ 2560 x 1600 │ 19,21,22 │ │
│ Nexus4 │ LG │ Nexus 4 │ VIRTUAL │ 1280 x 768 │ 19,21,22 │ │
│ Nexus5 │ LG │ Nexus 5 │ VIRTUAL │ 1920 x 1080 │ 19,21,22,23 │ │
│ Nexus5X │ LG │ Nexus 5X │ VIRTUAL │ 1920 x 1080 │ 23,24,25,26 │ │
│ Nexus6 │ Motorola │ Nexus 6 │ VIRTUAL │ 2560 x 1440 │ 21,22,23,24,25 │ │
│ Nexus6P │ Go
[task 2020-03-30T18:59:37.548Z] 5m 56s matrix-342os2kl0hzcd Nexus6P-27 Started crash monitoring.
[task 2020-03-30T18:59:37.548Z] 5m 56s matrix-342os2kl0hzcd Nexus6P-27 Started performance monitoring.
[task 2020-03-30T18:59:37.548Z] 5m 56s matrix-342os2kl0hzcd Nexus6P-27 Stopped performance monitoring.
[task 2020-03-30T18:59:42.816Z] 6m 1s matrix-342os2kl0hzcd Nexus6P-27 Stopped crash monitoring.
[task 2020-03-30T18:59:42.816Z] 6m 1s matrix-342os2kl0hzcd Nexus6P-27 Retrieving Post-test Package Stats information from the device.
[task 2020-03-30T18:59:42.816Z] 6m 1s matrix-342os2kl0hzcd Nexus6P-27 Logging out of Google account on device.
[task 2020-03-30T18:59:42.816Z] 6m 1s matrix-342os2kl0hzcd Nexus6P-27 Stopped logcat recording.
[task 2020-03-30T18:59:42.816Z] 6m 1s matrix-342os2kl0hzcd Nexus6P-27 Done. Test time = 147 (secs)
[task 2020-03-30T18:59:42.816Z] 6m 1s matrix-342os2kl0hzcd Nexus6P-27 Starting results processing. Attempt: 1
[task 2020-03-30T18:59:48.078Z] 6m 7s matrix-342
fun nthChildOf(
parentMatcher: Matcher<View>,
childPosition: Int
): Matcher<View> {
return object : TypeSafeMatcher<View>() {
override fun describeTo(description: Description) {
description.appendText("Position is $childPosition")
}
public override fun matchesSafely(view: View): Boolean {
fun verifyHelpUrl() {
val mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
val redirectUrl = "https://support.mozilla.org/"
assertNotNull(mDevice.wait(Until.findObject(By.res("R.id.mozac_browser_toolbar_url_view")), TestAssetHelper.waitingTime))
onView(withId(R.id.mozac_browser_toolbar_url_view))
.check(matches(withText(containsString(redirectUrl))))
}
fun verifyWhatsNewURL() {
val mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@file:Suppress("TooManyFunctions")
package org.mozilla.fenix.ui.robots
import android.net.Uri
import androidx.test.espresso.Espresso.onView
diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/HomeScreenRobot.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/HomeScreenRobot.kt
index 2a4d4b9..85b720f 100644
--- a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/HomeScreenRobot.kt
+++ b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/HomeScreenRobot.kt
@@ -10,9 +10,11 @@ import androidx.test.InstrumentationRegistry
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers
-import androidx.test.espresso.matcher.ViewMatchers.withEffectiveVisibility
-import androidx.test.espresso.matcher.ViewMatchers.Visibility
``java
org.mozilla.tv.firefox.integration.LiveDataCombineLatestTest:.
03-13 12:29:21.570 Error in WHEN_the_first_source_never_emits_THEN_the_result_should_never_emit(org.mozilla.tv.firefox.integration.LiveDataCombineLatestTest):
03-13 12:29:21.570 java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=org.mozilla.tv.firefox.debug/org.mozilla.tv.firefox.MainActivity } within 45 seconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1552505316538 and now the last time the queue went idle was: 1552505316538. If these numbers are the same your activity might be hogging the event queue.
03-13 12:29:21.570 at androidx.test.runner.MonitoringInstrumentation.startActivitySync(Monitorin
E InstrumentationResultPrinter: Failed to mark test No Tests as finished after process crash
03-07 08:53:53.855 20122 20122 E MonitoringInstr: Exception encountered by: Thread[main,5,main]. Dumping thread state to outputs and pining for the fjords.
03-07 08:53:53.855 20122 20122 E MonitoringInstr: java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{org.mozilla.tv.firefox.debug.test/org.mozilla.tv.firefox.FirefoxTestRunner}: java.lang.RuntimeException: Cannot connect to androidx.test.orchestrator.OrchestratorService
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5463)
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.app.ActivityThread.-wrap2(ActivityThread.java)
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1556)
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 08:53
[11:26:35]: ▸ android.util.AndroidException: INSTRUMENTATION_FAILED: org.mozilla.tv.firefox.debug.test/android.support.test.runner.AndroidJUnitRunner
[11:26:35]: ▸ at com.android.commands.am.Instrument.run(Instrument.java:421)
[11:26:35]: ▸ at com.android.commands.am.Am.runInstrument(Am.java:187)
[11:26:35]: ▸ at com.android.commands.am.Am.onRun(Am.java:80)
[11:26:35]: ▸ at com.android.internal.os.BaseCommand.run(BaseCommand.java:54)
[11:26:35]: ▸ at com.android.commands.am.Am.main(Am.java:50)
[11:26:35]: ▸ at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
[11:26:35]: ▸ at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:285)
[11:26:35]: ▸ INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for: ComponentInfo{org.mozilla.tv.firefox.debug.test/android.support.test.runner.AndroidJUnitRunner}
[11:26:35]: ▸ INSTRUMENTATION_STATUS: id=ActivityManagerService