add config for e2e tooltip events
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
9ad4939563
commit
13dfc544df
1
.env.e2e
1
.env.e2e
|
@ -19,3 +19,4 @@ PARTITIONED_TOPIC=0
|
|||
CONTRACT_NODES=1
|
||||
MOBILE_UI_FOR_DESKTOP=1
|
||||
BLANK_PREVIEW=0
|
||||
TOOLTIP_EVENTS=1
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
(ns status-im.ui.components.tooltip.styles
|
||||
(:require [status-im.ui.components.colors :as colors]
|
||||
[status-im.utils.styles :as styles]))
|
||||
[status-im.utils.styles :as styles]
|
||||
[status-im.utils.config :as config]))
|
||||
|
||||
(def tooltip-container
|
||||
{:position :absolute
|
||||
:align-items :center
|
||||
:pointer-events :none
|
||||
:left 0
|
||||
:right 0
|
||||
:top 0})
|
||||
(merge
|
||||
{:position :absolute
|
||||
:align-items :center
|
||||
:left 0
|
||||
:right 0
|
||||
:top 0}
|
||||
;;we need this for e2e tests
|
||||
(when-not config/tooltip-events?
|
||||
{:pointer-events :none})))
|
||||
|
||||
(styles/def bottom-tooltip-container
|
||||
{:position :absolute
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
(def local-notifications? (enabled? (get-config :LOCAL_NOTIFICATIONS "1")))
|
||||
(def blank-preview? (enabled? (get-config :BLANK_PREVIEW "1")))
|
||||
(def group-chat-enabled? (enabled? (get-config :GROUP_CHATS_ENABLED "0")))
|
||||
(def tooltip-events? (enabled? (get-config :TOOLTIP_EVENTS "0")))
|
||||
|
||||
;; CONFIG VALUES
|
||||
(def log-level
|
||||
|
|
Loading…
Reference in New Issue