Skip to content

Commit

Permalink
Fix for initialize-app-test
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveWM committed Oct 27, 2023
1 parent 70d0a16 commit 56ff4d4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/status_im2/integration_test/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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!)
Expand All @@ -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 ==================")
Expand Down

0 comments on commit 56ff4d4

Please sign in to comment.