From ad7b25be537089a230348ebe11823d882e505a0b Mon Sep 17 00:00:00 2001 From: Gregor Gilchrist Date: Wed, 20 Apr 2022 17:17:11 +0200 Subject: [PATCH] relogging android goings-on --- .github/workflows/detox-ci.yml | 2 ++ e2e/setup.js | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/detox-ci.yml b/.github/workflows/detox-ci.yml index 7d4c915026..f713623727 100644 --- a/.github/workflows/detox-ci.yml +++ b/.github/workflows/detox-ci.yml @@ -149,6 +149,8 @@ jobs: ram-size: 2048 # disable-animations: true script: | + adb logcat -c + adb logcat *:E & $ANDROID_HOME/platform-tools/adb devices yarn e2e:test -c android.staging --loglevel verbose --record-logs failing --record-timeline all --take-screenshots failing # yarn start & yarn detox test -c android.debug --loglevel verbose --record-logs failing --record-timeline all --take-screenshots failing diff --git a/e2e/setup.js b/e2e/setup.js index 2e06bae24f..615f253665 100644 --- a/e2e/setup.js +++ b/e2e/setup.js @@ -1,13 +1,9 @@ import { execSync } from "child_process"; import * as bridge from "./bridge/server"; -beforeAll(async () => { - // console.log("==============> LAUNCH APP BEFORE ALL"); - // await device.launchApp({ newInstance: true }); - +beforeAll(() => { console.log("==============> STARTING BRIDGE INIT"); bridge.init(); - // await device.launchApp(); console.log("==============> SETTING UP DEMO MODE"); setupDemoModeForScreenshots();