Commit Graph

453 Commits

Author SHA1 Message Date
yevh-berdnyk 59edf46be3
Fixed tests with relogin
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-18 01:18:48 +02:00
yevh-berdnyk 3ada73af89
Fixed test for transaction message when sending funds from wallet
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-17 11:22:40 +02:00
Andrea Maria Piana 3754e1dbae
[Fixes #5130] Select mailserver round-robin on connection failure
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-17 08:49:24 +02:00
Lukasz Fryc 51a59a1296
Fix test_offline_status by dismissing the welcome placeholder
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 17:37:02 +02:00
yevh-berdnyk a08c556528
Fixed failed e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 16:42:26 +02:00
janherich 6a342fd3a0
Full implementation of the `/reauest` command + tests 2018-07-16 15:10:21 +02:00
yevh-berdnyk 458e7231bd
Added new atomic tests for Smoke phase 1 section
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-16 11:36:44 +02:00
janherich 03598d47c2
Complete implementation of the `/send` command + tests 2018-07-16 08:53:24 +02:00
tbenr 6672400041
Fixes #4938
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-16 08:56:17 +02:00
Andrea Maria Piana f8c9bec383
[Fixes #5127] Move files to no-backup directory & hash accounts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-13 10:06:36 +02:00
Goran Jovic 6ec40b3e21
bug #4854 - renamed seed or passphrase to recovery phrase in all copies
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-13 07:16:53 +02:00
Andrey Shovkoplyas a644075310
No browsing history kept on iOS [#5078]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-12 15:04:31 +03:00
Dmitry Novotochinov bf9a291a09
[#4073] Fix parse-url regexp
To not identify string like "test...test..." as an URL

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:50:23 +03:00
Dmitry Novotochinov 867488ae3c
[#4301] Move message timestamp to the left for right-to-left languages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:39:30 +03:00
Andrea Maria Piana f36d5d64cc
[Fixes #4944] Enable universal/deep links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-12 11:33:23 +02:00
yevh-berdnyk c0e5d24791
Fix for logcat verifications and connection status
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-11 20:20:52 +02:00
Anton Danchenko fa52958382
added more tests and smoke_1 mark
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-11 19:47:26 +02:00
Andrea Maria Piana a2ee06bc9d
[Fixes #4998 ] Handle decryption failures in realm
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-11 17:29:56 +02:00
janherich b6a68e79c7
Cljs commands proposal 2018-07-11 09:43:45 +02:00
yevh-berdnyk fcb68e7713
Added tests for logcat verification
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-10 12:19:55 +02:00
janherich be0143a575
Fix clearing unread counter 2018-07-10 10:05:37 +02:00
yevh-berdnyk dabaf3216d
Fixed repeated testrail ids
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-09 16:08:32 +02:00
yevh-berdnyk 6a17f9387c
Added atomic tests for chats management and DApps
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-06 20:30:25 +02:00
Anton Danchenko 784bc2c948
fix for selecting logo
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-06 13:49:37 +02:00
pacamara 5e3f65eac8
Fixes #3639 Persist browser history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-06 13:23:53 +03:00
Anton Danchenko 3d86e646be
added more atomic tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-07-05 00:05:37 +03:00
Andrey Shovkoplyas ee317c4aeb
Wrong number of collectibles in the list and they are mixed up [#4904]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-03 18:31:18 +03:00
Andrea Maria Piana b34744133b
[fixes #4745] Don't query mailserver on restored account
When creating a new account / recovery we don't poll the mailserver anymore for historic messages, which solves the immediate issue of fetching only received messages

Handle messages sent from a different device in public chat / restore history. The message will be added, shown correctly as sent by the user, and the status will be set as sent ( need to check for seen race condition, as messages will now be added twice). This means that multidevice should now work for public chats.

Move contact updates to discovery topic. This is necessary as there is a pre-existing bug whereby contact updates would not work anymore after wallet recovery, as the code relies on the initial contact request being stored on the mailserver, which we cannot guarantee (we only pull 7 days of data). Not pulling history anymore exacerbate the problems but does not introduce it.
To make sure that contact updates will work after wallet recovery, we also need to consider a ContactUpdate in the same way we consider a ContactRequest (the other peer has no idea that the user has recovered the wallet). This does not change any behaviour in terms of obscurity/security as ContactRequest are automatically processed (in both case the contact will be set as pending?, not as accepted)
At this stage ContactRequest, ContactRequestConfirmed, ContactUpdate have all the same logic, i.e. update the contact information, leave the pending flag alone.

Only 1 day of history is fetched for newly joined chats, if catching up 7 days is the cap as before.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-03 17:21:59 +02:00
yevh-berdnyk 13c8cbf253
Fix for profile and chats tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-03 14:41:40 +02:00
Anton Danchenko f4c156c3f7
added atomic transaction tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-07-03 12:30:47 +02:00
Andrea Maria Piana 42509e8fb6
Dont query mailserver when from is greater than to
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-02 12:21:43 +02:00
yevh-berdnyk 0cef5041de
Added atomic tests for account management
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-06-30 19:51:54 +03:00
yevh-berdnyk 2817d00720
Added atomic tests for chats
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-29 14:58:07 +02:00
cammellos c4c5c19a77
[Part of #4944] add deep/universal link ios and use status-im://
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-29 14:54:05 +02:00
Andrea Maria Piana a7fc05fcd3
Add support for browse dapps
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-28 14:18:07 +02:00
Andrea Maria Piana b17d9bab37
Add universal links for android
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-27 22:45:57 +02:00
yevh-berdnyk d276d576a6
Increased time range for message sending progress bar
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-26 18:26:35 +02:00
yevh-berdnyk d12c05d6f7
Fix for e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-22 12:18:07 +02:00
yevh-berdnyk 8bf083cf88
Added atomic tests for chats and sigh in
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-21 20:08:54 +02:00
Goran Jovic 32bbf4e533
feature #3233 #4095 and #3234 - send and request tokens in chat and wallet 2018-06-20 19:04:55 +03:00
Andrea Maria Piana ef0fa75ad4
Handle empty/invalid keys
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-19 20:15:16 +02:00
Andrea Maria Piana a313557694
Cap maximum number of days requested to mailserver
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-06-19 20:13:19 +02:00
Dmitry Novotochinov 00c5c630f4
Prevent send button spamming in public chats 2018-06-19 11:35:02 +03:00
Anton Danchenko c1120119b2
e2e tests aligned with new commands design
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-06-18 16:22:16 +03:00
Andrea Maria Piana 5a08383bde
Check minimum amount
Use string for inputs

validate gas is not 0

Handle signed/unsigned transactions
2018-06-15 18:32:26 +03:00
janherich be113ab8a4
Unit tests for mark seen functionality 2018-06-15 13:57:59 +02:00
yevh-berdnyk 49bc773037
Fixed accept_agreements method
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-14 20:37:19 +02:00
yevh-berdnyk f81f3e0d05
Added message reliability offline 1-1 chat and push notifications tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-14 19:42:18 +02:00
Andrea Maria Piana 2d54c3e2cc
Select random ms until users explicitictly choose one
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-14 15:02:15 +02:00
yevh-berdnyk 8d278f3d7d
Fixed passphrase input
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-13 17:21:03 +02:00
Andrea Maria Piana 027b558c2d
update requirements.txt with compatible dependencies
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:45:11 +02:00
Andrea Maria Piana 34174cd539
Validate rpc-url when creating a custom network
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:42:00 +02:00
Andrea Maria Piana c66c457bbb
Default to value if key is nil
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-13 13:39:04 +02:00
janherich 535ae6b481
Fix messages from multiple chats problem 2018-06-11 18:30:10 +02:00
janherich 0ad15a79d6
Ensure valid timestamp for all messages 2018-06-11 17:44:01 +02:00
janherich 4ba78de407
Faster seen marking
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-11 12:16:42 +02:00
Julien Eluard 952b01e9e1
[#1228] Only enable Next button when passphrase is valid
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-06-11 11:56:03 +02:00
yevh-berdnyk 69610e41ad
Added test for verification tokens data using api.ethplorer.io
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-08 16:15:21 +02:00
Andrea Maria Piana 00cd7c8578
Dont show add-to-contacts if dapp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-08 15:07:02 +02:00
yevh-berdnyk 8f1610527b
Fixed e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-08 13:08:05 +02:00
Lukasz Fryc f06f4d7a46
Rerun tests when Connection reset by peer happened
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-07 17:26:10 +02:00
Andrea Maria Piana 608c64e88d
Dont run receive-whisper-messages if the user is logged out
This handles a bug whereby we'd run receive-whisper-messages
when the user is logged out.

I could not replicate locally, but a few issues are apparent from
just inspecting the code:

1) there are some race-conditions on logout as we don't wait for all
the filters to be removed. Changing this behaviour is non trivial and
not sure if we can actually handle this completely
(status-go-has-a-message->remove-filter->logout->status-go-deliver-message).
2) no error handling is made in receive-whisper-messages.

This PR defensively handles both cases.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 14:16:35 +02:00
Andrea Maria Piana fc5cd95b9c
Add border to profile picture & style chat icon
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-07 13:50:35 +02:00
yevh-berdnyk 5b3aeccd8f
Added chat_name parameter for public chat in message reliability
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-06 15:10:24 +02:00
Anton Danchenko b38dd8f013
transaction verification is fixed
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-04 16:06:26 +02:00
Andrea Maria Piana 75d1c04412
Allow for different password on different mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-04 14:28:43 +02:00
Anton Danchenko 64f965c392
added test 'sign message in dapp', increased time for validation of a transaction
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-04 12:43:23 +02:00
yevh-berdnyk 65fa9e5741
Fixed login in e2e tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 20:12:51 +02:00
Andrea Maria Piana 49592f3a50
Allow editing/deleting custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 18:28:10 +02:00
yevh-berdnyk 19ff402b4b
Updated message reliability test report
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 17:52:14 +02:00
Andrea Maria Piana 9058c54933
Allow scanning qr codes for custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 13:57:21 +02:00
yevh-berdnyk b345b4a79a
Added 1-1, public and offline public chat tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-06-01 12:52:40 +02:00
Andrea Maria Piana 7ef3a5a5da
Delete mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-06-01 11:23:05 +02:00
Andrey Shovkoplyas 83afbd515a
show onboarding for transaction from chat [#4456] 2018-06-01 07:17:49 +03:00
Anton Danchenko d8c8608419
test 'delete 1to1 chat' has been reworked in order to decrease execution time
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-31 16:30:08 +03:00
yevh-berdnyk 955fdc6c17
Added 2 errors for rerun
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-31 11:17:00 +02:00
Andrea Maria Piana 1e4311d4cb
Allow editing existing mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 21:42:54 +02:00
Andrea Maria Piana 33ad919508
Add custom bootnodes
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-30 17:49:13 +02:00
Andrea Maria Piana 446ae1b30d
Allow scanning qr codes for custom mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 19:22:38 +02:00
yevh-berdnyk e2cc3123b2
Updated tests for deleting public chat and wallet recovery
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-29 17:45:57 +02:00
Goran Jovic 6f8647e7d7
bug #4496 - taking decimals into account when calculating fiat value of assets 2018-05-29 17:14:12 +03:00
Andrea Maria Piana 92289f452e
Dont open chat on contact request
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 14:59:51 +02:00
Andrea Maria Piana 638b30c443
Dont use json-string in network config
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 14:22:36 +02:00
Andrea Maria Piana 26dd1c1f5a
Reset realm when fail to decrypt
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-29 11:28:44 +02:00
Eric Dvorsak 203f399aca
use from parameter for mailserver requests
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-29 10:19:08 +02:00
Goran Jovic 35467ffd69
bug #4192 - removing mnemonic from db after user backs up seed phrase
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 16:31:00 +02:00
Andrea Maria Piana 9cfb591068
Remove chat / clear history
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-28 16:28:16 +02:00
Anton Danchenko 97c96bbcea
bypass minor issues, rerun test in case of 'App stop to respond'
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-28 15:51:00 +02:00
Eric Dvorsak 21f9aa1b10
[fix 4466] improve peer-summary-change-fx
do not request messages from inbox everytime a peer is added or removed

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-28 15:31:16 +02:00
Anton Danchenko a307d8e2d0
transaction by unique amount, fixed simple DAap test, added new errors to rerun tests list
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-26 21:44:46 +02:00
janherich e1da12d8a2
Fast message grouping/sorting
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-24 13:38:40 +02:00
janherich 84208aeb85
Correct :shh/post accumulation
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-23 19:55:27 +02:00
Eric Dvorsak 50072ffe3f
[fix 4177] handle discovery signals
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 17:01:57 +02:00
Anton Danchenko b8e41cb464
added public chat management test, disabled group chat tests, added more errors to the rerun tests list
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-23 16:48:15 +02:00
Andrea Maria Piana 735a5b403d
Add custom mailservers feature-toggled
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-23 15:35:25 +02:00
Georgie Mathews 971d780c1c
[FIX #4296] Rename Recent Recipients to Contacts in Wallet
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-22 14:38:50 +02:00
Igor Mandrigin 1aae1a9645
[#4053] Quickfix to not log passwords from the transaction screen.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-21 17:59:32 +02:00
Anton Danchenko 23f1c377c5
fixed e2e tests, fixed empty error message in testrail, better error messages
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 23:53:05 +03:00
yevh-berdnyk 3d33f3feac
Added tests for messaging, chats deleting and wallet set up
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 17:47:39 +03:00
Serhy 26c819cc9c
Toggle dev mode to change network
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-05-20 17:46:38 +03:00
Andrey Shovkoplyas 3f3684cddf
removed contacts groups and debug console
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 15:17:51 +03:00
Lukasz Fryc d2126d4abc
added 'open transaction on etherscan' and 'wallet errors' tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-17 10:42:28 +02:00
Serhy c80d4bd62c
Removed debug command test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-16 20:36:20 +02:00
Andrea Franz 24127a598b
update status-go to use the latest commit with wallet-compatibility
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-15 18:56:11 +03:00
Andrea Maria Piana c27418cd2f
Remove username from 1-to-1 chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-15 16:38:24 +02:00
yevh-berdnyk 9a94779238
Updated test for signing a transaction in a DApp and removed test fro signing a transaction later
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-14 19:29:54 +02:00
Lukasz Fryc e32ce7af68
Rerun appium tests failed due to infrastructure reasons
rerun_count=0 by default
2018-05-14 17:47:06 +02:00
yevh-berdnyk 0d2849d955
e2e tests updated according to new wallet onboarding
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-14 15:22:03 +03:00
janherich 62a9f26e30
First stage of realm transactions 2018-05-10 17:21:23 +02:00
Serhy 37fe1e2b9e
Fix seed-phrase test
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-10 14:06:20 +03:00
Anton Danchenko 942c703bd8
testrail report for extended automated tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-10 00:39:20 +03:00
Lukasz Fryc d9755f546d
Add appium test about deleting 1-1 chat 2018-05-09 10:57:43 +02:00
Roman Volosovskyi 6e34ede299
reformat test namespaces 2018-05-08 14:43:06 +03:00
Serhy d58d7c8b81
Dont share button tests update from 4098
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 12:30:58 +03:00
yevh-berdnyk fcaa291c23
Added e2e tests apk building in Jenkinsfile.nightly_fastlane
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-07 12:29:51 +03:00
Andrea Maria Piana 733f2b193f
dont send seen for public messages and remove checkmark 2018-05-04 21:31:54 +02:00
psdp 5d5444e3de
Show fiat value of wallet assets #4009 2018-05-04 21:25:20 +02:00
yevh-berdnyk f94e1c5826
Added e2e tests for account management verifications
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-05-04 16:31:31 +03:00
psdp 97083f31f6
Show all users in group chat members list 2018-05-02 14:56:56 +02:00
Roman Volosovskyi e830183011
track sent/received events;
force sent/received ratio tracking;
send mixpanel events when state is changed to online;
2018-05-01 19:25:25 +02:00
psdp ef0024c5dc
Replace accounts/accounts by account/account in app-db [#3907]
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-01 16:40:36 +02:00
Serhy 076e2c30fc
Update non-dapp browsing test
Signed-off-by: Serhy <sergii@status.im>
2018-05-01 13:40:25 +03:00
yevh-berdnyk c95bc11d52
Removed getting latest nightly apk, fixed messaging tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-30 19:30:05 +03:00
janherich 3b4d7a6a62
Remove obsolete code 2018-04-30 08:35:09 +02:00
yevh-berdnyk 2558fbcfa1
Update for e2e transactions tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-27 19:53:47 +03:00
yevh-berdnyk 4cd85154a3
Fixed transaction tests and account recovery method
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-04-27 16:47:01 +03:00
janherich c6130ed650
Finish faster conversions 2018-04-26 17:21:03 +02:00
Lukasz Fryc 5ccbcb2f3e
Stop waiting for Instabug popup in appium e2e tests 2018-04-26 15:39:59 +02:00
Lukasz Fryc 132ceda907
Fix uuid for android emulators 2018-04-26 12:45:57 +02:00
Lukasz Fryc 1e66eaa742
Add eth-keys to appium requirements 2018-04-26 12:43:58 +02:00
Andrea Maria Piana baf211e1f3
Send signed transaction to deleted chats 2018-04-25 08:55:39 +02:00
Roman Volosovskyi abff71d312
add options to filter events and provide extra data if necessary 2018-04-24 17:15:57 +02:00
yevh-berdnyk 210ea5df7d
Using of Jarrad contact is excluded in tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-17 21:24:49 +03:00
Andrea Maria Piana 3c43a622e1
Add timestamps to each message
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-16 16:24:20 +01:00
Serhy 896abdc119
Reintroduced group chat tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-13 11:44:19 +03:00
janherich f406feacc7
Contact refactoring 2018-04-11 14:57:51 +02:00
Marco Süß 450944af20
[ISSUE #3706] collect mixpanel events while offline
This adds a tracking interceptor to `default-interceptors` that replaces the old
`add-post-event-callback` hook. The interceptor gets the required data from
app-db to know if it's online and passes that to a new mixpanel tracking fn that
queues up tracking events, and drains that queue iff the app is online again.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-04-11 13:00:04 +02:00
Andrea Maria Piana 3256d67c2e
Add clock values for public group/chats
I have extended and modified the current algorithm for message ordering
so that it applies for group and public chats alike.

We use Lamport timestamps but we prefix the unix timestamp, which should
maximize the chances of the message being seen on the top of the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 12:19:42 +01:00
Anton Danchenko b2f5146a8a
wip
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-10 14:06:29 +03:00
Andrea Maria Piana f8e73f8538
Add docker integration tests
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 09:44:22 +01:00
asemiankevich afcc9cb08c
added several users to tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-04-09 18:00:33 +03:00
Eric Dvorsak 26b0224236
remove crypto libraries and nodeify hack
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-06 13:30:27 +02:00
Eric Dvorsak df17c50612
Add new protocol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-05 15:40:30 +01:00
Marco Süß 3ba9bdef7b
[ISSUE #3651] change console to look like a dev tool
- rename "Console" to "Status Console"
- hide console dapp badge in home screen
- change icon to something terminal-y
- change empty screen text for console chat

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:56:07 +03:00
Dmitry Novotochinov 6786123765
[#3593] Hide passphrase field during TestFairy session
Switch to react-native version of TestFairy

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 13:09:23 +03:00
yevh-berdnyk b0a2bbe27b
Changed xpath locators to accessibility labels in end to end tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-03-23 13:38:59 +02:00
Julien Eluard f1e41cc7ab
[ISSUE #3537] Added mixpanel support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 10:44:18 +01:00
yevh-berdnyk 581d4f04a5
Added sanity automation tests for chats deletion
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 16:55:51 +01:00
Anton Danchenko 9cae0a5d90
tests aligned with latest nightly behavior
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-03-15 20:55:49 +02:00
Foo Pang c3449a3a65
[Fix #3572] regx parse string bug in formatted texts
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 16:09:07 +01:00
Andrea Maria Piana 8c6dde8e06
[ISSUE #3520] Allow adding/chatting with contacts from public chats
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 14:16:48 +01:00
Itoh, Masaru 98a0c2081f
Refactor timestamp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-03-15 11:53:23 +00:00
Lukasz Fryc eff794c2ff
[ISSUE #3433] Update end-end test report for Github
Signed-off-by: Lukasz Fryc <fryc.lukasz@gmail.com>
2018-03-02 12:47:34 +01:00
yevh-berdnyk 3a33e04410
Tests updated with new onboarding flow 2018-03-02 12:37:37 +02:00
Foo Pang c1900a24ec
[Fix #3252] Remove dependency on react-native-autolink
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 10:57:58 +01:00
Lukasz Fryc a4852d5001
Fix other requirements 2018-02-27 19:27:31 +01:00
Lukasz Fryc 21157177c2
Fix zbarlight version 2018-02-27 19:27:30 +01:00
Goran Jovic b5b3ad204d
feature #3011 - reworked group chat profile and refactored common profile elements
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-27 12:12:51 +01:00
tarekskr 6098da936a
Updated to the new etherscan API URL scheme.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 20:45:28 +01:00
yevh-berdnyk d45af20a28
Updated group chat creation flow 2018-02-21 09:45:24 +01:00
Julien Eluard 63b1dbdb76
[ISSUE #3321] Migrated group chat creation flow
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-19 20:21:41 +01:00
yevh-berdnyk b228883de5
Added sanity tests for message sending verification 2018-02-16 10:54:51 +01:00
Eric Dvorsak 85ed3b3686
Revert "upgrade rn-camera (attempt to fix #3289)"
This reverts commit 032c5b42eb.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 14:54:20 +01:00
janherich 86aea8a623
Effects should be dumb, without any logic 2018-02-14 14:19:34 +01:00
Anton Danchenko 8ecde7feb6
added/reworked transaction tests (sanity) 2018-02-14 12:40:57 +01:00
Serhy cd53b21a05
added sanity profile and browsing tests 2018-02-14 12:37:11 +01:00
Roman Volosovskyi 032c5b42eb
upgrade rn-camera (attempt to fix #3289)
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:26:25 +01:00
Julien Eluard 748b0fcf09
[ISSUE #2883] Migrate wallet/request to latest mockups
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 16:22:33 +01:00
Oleh Krehel f4b33d47ee
events.cljs: Refactor
Reduce the overall nesting level in the test.  Each `testing'
statement now fits on a single screen, instead of spanning hundreds of
lines.

The final top-level expression went from 16 to 5 consecutive closing
parens.

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 12:12:32 +01:00
Anton Danchenko cbc61500f7
e2e tests reworked according to new 'start chat' and 'browse DAap' flows
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 11:11:03 +01:00
Eric Dvorsak 0b0405d9a5
[fix #3163] remove phone command
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 15:48:53 +01:00
Anton Danchenko f3a1248b13
WIP, report automated test results to GitHub as comment under appropriate PR
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:30:53 +01:00
Foo Pang 8582be2e69
[Fix #2751] Allow switching between wnodes for offline messaging
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:29:27 +01:00
Andrey Shovkoplyas 2e669ef525
introduced new, new chat, open dapp screens
Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-02-06 15:18:19 +02:00
Foo Pang cd90e59325
[Fix #2408] Alternative setTimeout for long timers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:44:42 +08:00
janherich 80fb8dde8b
Read at startup & write through async queues 2018-02-05 12:28:08 +01:00
Foo Pang ae04dde8ba
[Fix #3076] Separate figwheel from dev lein profile
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 17:02:45 +03:00
alwxndr 03e62548a6 [#3007] Removed location command 2018-02-01 22:25:50 +01:00
Dmitry Novotochinov 008f877cd6
Check admin.peers() before markTrustedPeer() call
addPeer() doesn't add peer right away so markTrustedPeer() could fail.
2018-02-01 14:29:53 +03:00
Andrey Shovkoplyas 7e78acc0cc
implemented browser , removed browse command 2018-01-30 16:19:59 +03:00
Roman Volosovskyi f65e200fca
integrate rn-snoopy https://github.com/status-im/rn-snoopy
add warnings on suspicious activity in RN bridge communication
2018-01-29 21:45:51 +02:00
Andrea Maria Piana 334b15961c
Refactor add-contacts & add-pending-contact
We wanted to move towards having multiple functions
manipulating the data rather than relying on a chain of
dispatched events.

I have refactored ui.screens.contacts.events so that now the
functions mainly manipulate fx, passed as a first parameter.

Their responsability is to make sure their fx are merged in, so
that they can be composed more easily.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-24 18:13:52 +01:00
Andrea Maria Piana 3a65dcd3c2
Start chat when user adds a pending contact from the "new contact" view
When a contact is removed it is set to pending?.

If the same contact is added again we now dispatch a :start-chat event
which initiate a 1-1 chat with them.
2018-01-24 18:13:36 +01:00
yevh-berdnyk cbb77b5f8d
Automated tests aligned with new design 2018-01-22 13:04:33 +01:00
Mikhail Gusarov 4a08d2a818
[FIX #1048] Localize timestamps in chat history
If current locale is xx-YY, looks up xx_YY first, xx then and finally
falls back to us.

goog.i18n.DateTimeSymbols database is used for localization.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-17 17:06:44 +01:00
Julien Eluard fc92dafca6 Fixed android build script.
Upgraded to latest dependencies and removed useless plugins.
2018-01-17 14:56:52 +01:00
Andrea Maria Piana c8ef43fb67
Fix and uncomment tests in contacts.events and utils.pre-receiver
I have uncommented the two namespaces:

contacts.events was mainly an issue with schema validation
and a few features not covered by tests.

the tests in pre-receiver were actually passing, the issue was a
test suite in wallet.events which was run asychronously by re-frame
which meant the http request in the fx was actually being fired.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 19:32:25 +09:00
Andrey Shovkoplyas d582e6e366 reworked main tabs, removed swiper and drawer npm libs 2018-01-12 12:10:15 +03:00
t4sk 591e568e37
[feature #2793]
- update re-natal to 0.8.0
- git ignore config.cljs
- derive re-frisk url from config.cljs
- add tests for env/dev/env/utils
- remove lein re-frisk use-re-natal from Makefile

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-08 23:13:47 +09:00
Julien Eluard f90e1a4ed3
[BUG #2029] Properly handle gas details from payment requests 2018-01-05 22:44:12 +09:00
Anton Danchenko e66b5c435b
the automation framework refactored in order to increase readability, decrease running time and bypass several minor bugs in product
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-04 19:29:39 +09:00
Julien Eluard 7c4d2f2ece [ISSUE #2642] Allow to send ERC20 tokens 2018-01-04 09:29:49 +01:00
Julien Eluard 7c8aa75724 [ISSUE #1840] Migrated to FlatList 2018-01-03 16:20:28 +01:00
Oskar Thoren 38f6dbdfae
Disable failing tests to get Jenkins to build
Error:

Testing status-im.test.utils.pre-receiver
undefined
/Users/oskarth/git/status-react/target/test/status_im/utils/utils.cljs:61
(defn http-get
^
ReferenceError: window is not defined
...
Error encountered performing task 'doo' with profile(s): 'test'
Subprocess failed

Not sure what http-get has to do with this test ns though.
2018-01-03 17:38:19 +09:00
Oskar Thoren bb69995aa4
Introduce 'pre-receiver' for more intuitive message order
Includes tests and explanation of logic. Doesn't change any behavior, just
provides a new capability to be used when messages are received.
2018-01-02 19:00:46 +09:00
Serhy 977db7ab9c Added acceptable deviation between current and expected USD ballance 2017-12-29 12:11:20 +02:00
Serhy 1c14845bbc Fixed test_balance_and_eth_rate to verify USD balance instead of eth rate 2017-12-27 20:32:34 +02:00
Andrey Shovkoplyas 46dc16599b fixed chat tests 2017-12-25 22:16:01 +03:00
Vitaliy Vlasov b0b4226680 [FIX #2565] data-store: escape leading tildes in message content 2017-12-25 16:19:32 +02:00
janherich eb8d0a8a79
Refactored message data-model and view 2017-12-19 12:50:36 +01:00