From 56ff4d4fd76cf3a3a36f45648938d918248502fc Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 27 Oct 2023 15:42:58 +0100 Subject: [PATCH] Fix for initialize-app-test --- src/status_im2/integration_test/core.cljs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/status_im2/integration_test/core.cljs b/src/status_im2/integration_test/core.cljs index 0a73e1cea778..e96d798619b4 100644 --- a/src/status_im2/integration_test/core.cljs +++ b/src/status_im2/integration_test/core.cljs @@ -4,17 +4,17 @@ [day8.re-frame.test :as rf-test] [re-frame.core :as rf] [status-im.events] - [status-im.multiaccounts.logout.core :as logout] - [status-im.subs.root] ; so integration tests can run independently + [status-im.multiaccounts.logout.core :as logout] ; so integration tests can run independently + [status-im.subs.root] [status-im.transport.core :as transport] [status-im.utils.test :as utils.test] [status-im2.events] + [status-im2.integration-test.chat] [status-im2.integration-test.constants :as constants] [status-im2.integration-test.helpers :as helpers] - [status-im2.integration-test.chat] [status-im2.integration-test.wallet] - [status-im2.navigation.core] - [status-im2.subs.root] ; so integration tests can run independently + [status-im2.navigation.core] ; so integration tests can run independently + [status-im2.subs.root] [taoensso.timbre :as log])) (utils.test/init!) @@ -27,7 +27,9 @@ ;; use initialize-view because it has the longest avg. time and ;; is dispatched by initialize-multiaccounts (last non-view event) [:profile/get-profiles-overview-success] - (helpers/assert-app-initialized)))) + (rf-test/wait-for + [:font/init-font-file-for-initials-avatar] + (helpers/assert-app-initialized))))) (deftest create-account-test (log/info "====== create-account-test ==================")