From 6aa7696d262d7028a63c533d1249ea17ea0048a5 Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Thu, 15 Feb 2024 11:24:09 +0100 Subject: [PATCH] fix: tests --- Detox.js | 1 - test/Detox_Acceptance_test.ts | 5 +++++ test/codecept.conf.ts | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Detox.js b/Detox.js index d81f6eae..12098dee 100644 --- a/Detox.js +++ b/Detox.js @@ -110,7 +110,6 @@ class Detox extends Helper { process.argv.push('--artifacts-location'); process.argv.push(global.output_dir + '/'); } - process.argv.push('--headless') } _useDetoxFunctions() { diff --git a/test/Detox_Acceptance_test.ts b/test/Detox_Acceptance_test.ts index 985314ae..8f2ca29e 100644 --- a/test/Detox_Acceptance_test.ts +++ b/test/Detox_Acceptance_test.ts @@ -1,6 +1,11 @@ const {I} = inject(); Feature('Acceptance Tests'); +Before(() => { + I.launchApp(); + I.wait(15); +}) + Scenario('App started', () => { I.see('Welcome'); }) diff --git a/test/codecept.conf.ts b/test/codecept.conf.ts index e106113e..949b262a 100644 --- a/test/codecept.conf.ts +++ b/test/codecept.conf.ts @@ -5,7 +5,6 @@ export const config = { Detox: { require: '../Detox.js', configuration: 'android.emu.release', - reloadReactNative: true, reuse: true, }, Expect: {}