mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-09 15:24:34 +00:00
⚒️ Fix typo (#18794)
This commit is contained in:
parent
e86faa0767
commit
c766d21296
@ -15,101 +15,101 @@
|
|||||||
|
|
||||||
(h/describe "Confirmation Progress"
|
(h/describe "Confirmation Progress"
|
||||||
(h/test "component renders when state is sending and network is optimism"
|
(h/test "component renders when state is sending and network is optimism"
|
||||||
(h/render-with-theme-provider [quo/confirmation-propgress
|
(h/render-with-theme-provider [quo/confirmation-progress
|
||||||
(get-test-data {:state :sending
|
(get-test-data {:state :sending
|
||||||
:network :optimism})])
|
:network :optimism})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box))))
|
(h/is-truthy (h/get-by-label-text :progress-box))))
|
||||||
|
|
||||||
(h/test "component renders when state is confirmed and network is optimism"
|
(h/test "component renders when state is confirmed and network is optimism"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :confirmed
|
(get-test-data {:state :confirmed
|
||||||
:network :optimism})])
|
:network :optimism})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is finalising and network is optimism"
|
(h/test "component renders when state is finalising and network is optimism"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :finalising
|
(get-test-data {:state :finalising
|
||||||
:network :optimism})])
|
:network :optimism})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is finalized and network is optimism"
|
(h/test "component renders when state is finalized and network is optimism"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :finalized
|
(get-test-data {:state :finalized
|
||||||
:network :optimism})])
|
:network :optimism})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is error and network is optimism"
|
(h/test "component renders when state is error and network is optimism"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :error
|
(get-test-data {:state :error
|
||||||
:network :optimism})])
|
:network :optimism})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is sending and network is arbitrum"
|
(h/test "component renders when state is sending and network is arbitrum"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :sending
|
(get-test-data {:state :sending
|
||||||
:network :arbitrum})])
|
:network :arbitrum})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is confirmed and network is arbitrum"
|
(h/test "component renders when state is confirmed and network is arbitrum"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :confirmed
|
(get-test-data {:state :confirmed
|
||||||
:network :arbitrum})])
|
:network :arbitrum})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is finalising and network is arbitrum"
|
(h/test "component renders when state is finalising and network is arbitrum"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :finalising
|
(get-test-data {:state :finalising
|
||||||
:network :arbitrum})])
|
:network :arbitrum})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is finalized and network is arbitrum"
|
(h/test "component renders when state is finalized and network is arbitrum"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :finalized
|
(get-test-data {:state :finalized
|
||||||
:network :arbitrum})])
|
:network :arbitrum})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is error and network is arbitrum"
|
(h/test "component renders when state is error and network is arbitrum"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :error
|
(get-test-data {:state :error
|
||||||
:network :arbitrum})])
|
:network :arbitrum})])
|
||||||
(h/is-truthy (h/get-by-label-text :progress-box)))
|
(h/is-truthy (h/get-by-label-text :progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is pending and network is mainnet"
|
(h/test "component renders when state is pending and network is mainnet"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress (get-test-data {})])
|
[quo/confirmation-progress (get-test-data {})])
|
||||||
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is sending and network is mainnet"
|
(h/test "component renders when state is sending and network is mainnet"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress (get-test-data {:state :sending})])
|
[quo/confirmation-progress (get-test-data {:state :sending})])
|
||||||
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is confirmed and network is mainnet"
|
(h/test "component renders when state is confirmed and network is mainnet"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress (get-test-data {:state :confirmed})])
|
[quo/confirmation-progress (get-test-data {:state :confirmed})])
|
||||||
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is finalising and network is mainnet"
|
(h/test "component renders when state is finalising and network is mainnet"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress (get-test-data {:state :finalising})])
|
[quo/confirmation-progress (get-test-data {:state :finalising})])
|
||||||
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is finalized and network is mainnet"
|
(h/test "component renders when state is finalized and network is mainnet"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress (get-test-data {:state :finalized})])
|
[quo/confirmation-progress (get-test-data {:state :finalized})])
|
||||||
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
||||||
|
|
||||||
(h/test "component renders when state is error and network is mainnet"
|
(h/test "component renders when state is error and network is mainnet"
|
||||||
(h/render-with-theme-provider
|
(h/render-with-theme-provider
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(get-test-data {:state :error})])
|
(get-test-data {:state :error})])
|
||||||
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
(h/is-truthy (h/get-by-label-text :mainnet-progress-box)))
|
||||||
|
@ -418,7 +418,7 @@
|
|||||||
(def account-permissions quo.components.wallet.account-permissions.view/view)
|
(def account-permissions quo.components.wallet.account-permissions.view/view)
|
||||||
(def address-text quo.components.wallet.address-text.view/view)
|
(def address-text quo.components.wallet.address-text.view/view)
|
||||||
(def amount-input quo.components.wallet.amount-input.view/view)
|
(def amount-input quo.components.wallet.amount-input.view/view)
|
||||||
(def confirmation-propgress quo.components.wallet.confirmation-progress.view/view)
|
(def confirmation-progress quo.components.wallet.confirmation-progress.view/view)
|
||||||
(def keypair quo.components.wallet.keypair.view/view)
|
(def keypair quo.components.wallet.keypair.view/view)
|
||||||
(def network-amount quo.components.wallet.network-amount.view/view)
|
(def network-amount quo.components.wallet.network-amount.view/view)
|
||||||
(def network-bridge quo.components.wallet.network-bridge.view/view)
|
(def network-bridge quo.components.wallet.network-bridge.view/view)
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
(stop-interval)))
|
(stop-interval)))
|
||||||
[(:state @state)])
|
[(:state @state)])
|
||||||
[preview/preview-container {:state state :descriptor descriptor}
|
[preview/preview-container {:state state :descriptor descriptor}
|
||||||
[quo/confirmation-propgress
|
[quo/confirmation-progress
|
||||||
(assoc @state
|
(assoc @state
|
||||||
:counter
|
:counter
|
||||||
@counter)]]))
|
@counter)]]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user