From 2e26858e3f7e52a9b7fa93e88b511b266c437bdc Mon Sep 17 00:00:00 2001 From: Salakar Date: Fri, 13 Apr 2018 13:47:49 +0100 Subject: [PATCH] [tests][crashlytics] mark crash() test as pending - sometimes flakey and breaks due to detox issue --- bridge/e2e/crashlytics/crashlytics.e2e.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bridge/e2e/crashlytics/crashlytics.e2e.js b/bridge/e2e/crashlytics/crashlytics.e2e.js index da776cac..6a442ceb 100644 --- a/bridge/e2e/crashlytics/crashlytics.e2e.js +++ b/bridge/e2e/crashlytics/crashlytics.e2e.js @@ -1,5 +1,11 @@ describe('crashlytics()', () => { - describe('crash()', () => { + // todo test is flakey due to a detox error occurring sometimes; + // Error: the string "Error when sending event: websocketFailed with body: + // {\n id = 0;\n message = \"The operation couldn\\U2019t be completed. + // Connection refused\";\n}. Bridge is not set. This is probably because you've + // explicitly synthesized the bridge in RCTWebSocketModule, even though it's + // inherited from RCTEventEmitter. + xdescribe('crash()', () => { it('should force an app crash', async () => { await firebase.crashlytics().crash(); if (device.getPlatform() === 'ios') {