Commit Graph

213 Commits

Author SHA1 Message Date
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
Dmitry Novotochinov 6d966b4648
[fixes #2546] Add chat-preview-text component to status.js
Apply default styling for message commands preview in chat
2017-12-15 18:15:03 +03:00
Eric Dvorsak 56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Foo Pang 460f6a38e8 [Fix #2640] Cleanup react-native source folder 2017-12-14 16:57:09 +02:00
Anton Danchenko 10da67a63f added 'request transaction from wallet' test 2017-12-13 14:19:00 +01:00
Julien Eluard 2256628c97 Added assets icons and allow to filter tokens 2017-12-08 16:36:38 +01:00
Anton Danchenko f227962a89 fixed an issue with rounded sum in request command, added test 'send funds via request in group chat', added new users for wallet tests 2017-12-07 15:16:14 +01:00
janherich 25d3940d49 More efficient subscriptions 2017-12-04 17:52:39 +01:00
pablodip 2dbefb706e supported languages and trans ids
rename test

fix test `supported-locales-are-actually-supported` and improve failing message

fix some coding standards

rename old `str` namespace alias to `string`

fixing cs

rename translation id to label and explain checkpoints

remove non-existent labels in translations

add some comments

add status 0.9.12 as first checkpoint in translations, plus current supported locales

remove non-existent label from base checkpoint and fix locale->checkpoint and supported locales

format checkpoint-0-9-12-labels in several lines

add fn labels-that-are-not-in-current-checkpoint
2017-11-29 17:13:38 +01:00
Julien Eluard b2daaa2159 Hook require to prevent tests failures when loading images 2017-11-29 16:50:28 +01:00
Julien Eluard 3df4a7f1e4 Added ERC20 listing support 2017-11-29 09:56:01 +01:00
Julien Eluard 0730420017 [BUG #2228] Implemented wallet filtering screen 2017-11-28 09:14:08 +01:00
m'hammed 319a770872 [bug] fix #2329 Generate username as Unknown for nil and 0 public key 2017-11-23 11:59:10 +03:00
Oskar Thorén 8fe9306caf Integration tests: use fixtures and abort indeterminate 2017-11-21 17:19:00 +01:00
janherich e50d56a4d0 Refactored jail loading + commands/responses 2017-11-21 10:51:15 +01:00
Oskar Thorén 91a0d40ceb Integration tests: Basic Whisper version test and disable old 2017-11-20 23:55:26 +01:00
janherich 16fcef909f Fix broken group chats 2017-11-20 14:20:29 +01:00
Anton Danchenko c9b785cead added native android keys to send_as_keyevent method 2017-11-17 13:48:07 +02:00
Julien Eluard 7e6507be7c [ISSUE #2391] Added support for ERC681 2017-11-16 13:07:33 +01:00
yevh-berdnyk 63848efc20 [ISSUE #166] Added test for sending ETH after request command 2017-11-16 10:25:48 +02:00
Anton Danchenko af97424146 tests updated in order to reflect changes in back button behavior 2017-11-15 14:59:57 +01:00
Eric Dvorsak 2ff2bfacf0 [bug] fix #1784 db fields passed from one account to the other 2017-11-13 15:25:00 +01:00
Anton Danchenko 190e841f32 added an ability to run Jenkins job manually against any apk 2017-11-13 13:48:16 +02:00
Julien Eluard 0d4cbd98e5 [ISSUE #2177] Moved component into ui 2017-11-10 10:49:21 +01:00
Anton Danchenko a95d118959 added verification of user data absence in logcat 2017-11-09 17:36:15 +02:00
Goran Jovic edd4df85f9 bug #2381 - updated statuses are broadcast 2017-11-08 14:55:16 +01:00
Roman Volosovskyi dfe68a2ded fix accounts-events test 2017-11-06 13:27:24 +01:00
janherich 55164b8eac Refactor adding subscriptions + basic tests 2017-11-06 08:14:10 +01:00
alwx 20e76c21ee Phone number is not updated in profile and shows 'Not Specified' value if use /phone command (#2256) 2017-11-02 11:43:49 +01:00
Anton Danchenko bd8d967743 added 'test_new_profile_name_and_status_on_discover' and 'test_change_profile_name_and_status'
fixed verification of user status on drawer menu
2017-10-30 13:36:49 +02:00
janherich bf71df17b5 Finish jail-call deduplication 2017-10-27 09:41:17 +02:00
yevh-berdnyk 7256ddafa9 [ISSUE #2225] Added rate test and transactions history verification 2017-10-26 13:50:42 +03:00
Anton Danchenko c8267106bc added 'recover user from console view' flow, modified info captions. 2017-10-23 12:32:45 +02:00
Anton Danchenko cdc75d6238 added transaction from wallet tests: 'sign now' and 'sign_later', also added 'insufficient funds' test 2017-10-19 15:56:55 +02:00
Anton Danchenko 6c7ca9648f tests refactored for faster runs, updated scenarios for transactions in one-to-one chats 2017-10-18 15:43:24 +03:00
Julien Eluard eea4eeb549 [BUG #2189] Do not clear user set amount when scanning QR code 2017-10-17 17:31:31 +02:00
Julien Eluard 43dab5b174 Fixed warnings when compiling tests 2017-10-17 10:12:10 +02:00
alwx cb72190a18 API commands scopes, changes for API semantics (#1546) 2017-10-16 09:51:52 +02:00
Andrey Shovkoplyas c2ef0e4547 pending wallet in default contacts 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 8269d6d9a9 hide old wallet Dapp #2021 2017-10-13 17:49:25 +02:00
Julien Eluard 3b6b5e2da1 [BUG #2025] Ensure QR code data is properly parsed 2017-10-13 13:01:16 +02:00