From 7852f670b7ebac5564521c233e8a2daa691a7d6b Mon Sep 17 00:00:00 2001 From: "N. Dimer" Date: Sat, 22 Dec 2018 21:36:33 +0100 Subject: [PATCH] Add user hint for APPIUM_UNREACHABLE_ERROR error. --- app/renderer/services/UserHints.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/renderer/services/UserHints.js b/app/renderer/services/UserHints.js index d7da40f9..a11369ea 100755 --- a/app/renderer/services/UserHints.js +++ b/app/renderer/services/UserHints.js @@ -36,7 +36,10 @@ export default class UserHintsService { } *_analyzeTestRunnerLogs(message, severity) { - if (message.indexOf('ECONNREFUSED') > -1 && message.indexOf('RuntimeError') > -1) { + if ( + (message.indexOf('ECONNREFUSED') > -1 && message.indexOf('RuntimeError') > -1) + || message.indexOf('APPIUM_UNREACHABLE_ERROR') > -1 + ) { // get test mode const testMode = yield select(state => state.test.runtimeSettings.testMode); if (testMode && testMode === 'mob') {