Commit Graph

422 Commits

Author SHA1 Message Date
Serhy 280063b687
pdate e2e and fleet in e2e env
Signed-off-by: Serhy <sergii@status.im>
2020-01-17 11:32:28 +02:00
Churikova Tetiana cecb22a89b
removed check about set picture after pairing due to e2e build issue
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-15 16:46:23 +01:00
Gheorghe Pinzaru f34a7bc3f1
Restyle chat messages
Update the rounded corners on all messages

Update paddings and margin for message author

Move timestamp 3pt from bottom

Fix miss-placed padding in message author name

Add margin between emoji and timestamp

Change reply icon

Decrese font size of emoji message

Remove extra space in style map

Remove extra margin between author and message

Replace reply icon with glymph

Update Inter font to support new glyphs

Update paddings for reply author

Update timestamp padding from bottom

Added line-height explicitly to support it cross platform. Otherwise android and ios use different size.

Remove margin right space on usernames

Remove hardcoded width of messages

Use same line-height for all types of names

Add background to emoji

Bug in RN emoji cropped on smaller line-height https://github.com/facebook/react-native/issues/18559

Fix reply on user with ens name

Fix message margin top should be always 4

Add minimal fix for ui in ens name screen

Remove extra computations for timestamp position

Update e2e test

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-15 12:56:53 +03:00
Serhy 7f0cfc0c69
Enable test checking tooltips
Signed-off-by: Serhy <sergii@status.im>
2020-01-13 18:18:50 +02:00
Churikova Tetiana b81f92bf43
changed translation for OK got it
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-09 14:38:40 +01:00
Churikova Tetiana 9ad4939563
2 new browser tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-08 17:09:50 +01:00
Churikova Tetiana 352690588e
Remove duplicating button 2020-01-08 14:04:41 +01:00
Churikova Tetiana ae13cd0ad9
Align e2e with new translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-07 13:38:18 +01:00
Churikova Tetiana 1caec28d03
review TODO
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-03 23:20:59 +01:00
Serhy 1956671e7d
Seedphrase validation in e2e and fixes
Signed-off-by: Serhy <sergii@status.im>
2020-01-03 19:36:42 +02:00
Serhy 4096487637
Test reply to messages in chats
Signed-off-by: Serhy <sergii@status.im>
2019-12-27 18:20:55 +02:00
Churikova Tetiana ff268dd5c0
extend e2e about mailservers
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-27 16:05:55 +01:00
Serhy d8db958319
Fix alert dismiss if it appears
Signed-off-by: Serhy <sergii@status.im>
2019-12-26 14:20:35 +02:00
Churikova Tetiana 4fe49568f7
added checks for contact list
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-26 13:06:10 +01:00
Serhy 0fa6ae589b
v1 Copy Changes - Key Generation, Storage
Signed-off-by: Serhy <sergii@status.im>
2019-12-21 18:06:29 +02:00
Churikova Tetiana 1d0ab4052d
Watch-only test and additional waiting when signing transaction
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-20 18:53:31 +01:00
Churikova Tetiana 8578c317d6
removed show_ens_in_chats toggle from e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-19 13:49:37 +01:00
Serhy 1a61ae4b73
Fix e2e update Dapps tp Browser
Signed-off-by: Serhy <sergii@status.im>
2019-12-19 12:32:27 +02:00
Churikova Tetiana 3b6c6972d3
additional check for stateous user without domain
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 17:50:19 +01:00
Serhy df232889f4
Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 16:18:08 +01:00
Churikova Tetiana bdbbcbb1da
modified switch_network
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-17 11:03:45 +01:00
Churikova Tetiana 5da40ca412
removed web allow permissions test
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-11 16:34:37 +01:00
Churikova Tetiana 4a40b6f033
add junitxml report back
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-10 19:48:36 +01:00
Andrea Maria Piana 54cf783d5b
Move group chats to status-go
This commit completely remove transit for group chats. All the
processing is now done in status-go.
Also introuduces parsing and handling of mentions, needed so that system
messages can be easily built in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-10 16:18:26 +01:00
Churikova Tetiana 53523430cc
Formatted text in 'From' field
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-09 17:19:32 +01:00
Churikova Tetiana 9abb1ef488
another tiny fixes to e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-06 16:50:17 +01:00
Churikova Tetiana 21d24e7eef
waiting for allow_button until checking absense
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-06 10:57:38 +01:00
Andrea Maria Piana 78d694f52f
Move message processing to status-go and introduce protobuf
This commit moves all the processing of messages to status-go.

Messages are going arrive to status-react already saved an processed.

Receiving/sending/retrieving from db is now using the same identical
structure. The only processing left in status-react is to mark the
messages as seen and update the unviewed count locally (only
status-react knows whether the count should be updated).

Partially remove commands as well as won't be used anymore.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-05 17:30:30 +01:00
Serhy 0b2490d20e
Fix wallet tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-05 11:14:46 +01:00
Serhy 0b802ec456
Update e2e test to expect changes
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-03 13:10:56 +01:00
Serhy 577e699405
Upgrade to pytest 5.3.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-02 12:55:50 +02:00
Serhy 13a619502c
Fixing wallet send tx tests
Signed-off-by: Serhy <sergii@status.im>
2019-11-29 19:43:59 +02:00
Churikova Tetiana 34b356866b
fixed several e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-29 11:30:40 +01:00
Churikova Tetiana eecf53d11f
more wait for lets_go_button
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-25 17:46:33 +01:00
Churikova Tetiana 47d22305db
test_set_primary_ens_custom_domain
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-25 11:36:49 +01:00
Churikova Tetiana 0b1da0e118
markdown support test + waits
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-21 12:01:57 +01:00
Serhy 84325fc528
Fix invite friends test
Signed-off-by: Serhy <sergii@status.im>
2019-11-21 12:47:34 +02:00
Churikova Tetiana 40ca4af6a6
align e2e with accessibility-ids
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-18 13:11:52 +01:00
Serhy 6aa225192f
Test can cancel quote message
Signed-off-by: Serhy <sergii@status.im>
2019-11-18 12:25:28 +02:00
Andrea Maria Piana 9a9c0ce526
Render markdown
Fixes: https://github.com/status-im/trailofbits-audit/issues/47
Fixes: https://github.com/status-im/trailofbits-audit/issues/46
Fixes: https://github.com/status-im/trailofbits-audit/issues/44
Fixes: https://github.com/status-im/security-reports/issues/13
Fixes: https://github.com/status-im/security-reports/issues/5
Fixes: https://github.com/status-im/status-react/issues/8995

This commits re-introduce rendering of markdown text and implent a few
changes:

1) Parsing of the message content is now in status-go, this includes
markdown, line-count, and rtl. Parsing is not nested, as there's some
rendering degradation involved as we nest components, unclear exactly if
it's react-native or clojure, haven't looked too deeply into it.
2) Emojii type messages are not parsed on the sending side, not the
receiving one, using the appropriate content-type
3) Fixes a few issues with chat input rendering, currrently we use
`chats/current-chat` subscription which is very heavy and should not be
used unless necessary, and means that
any change to chat will trigger a re-render, which caused re-rendering
of input container on each received message. Also to note that
input-container is fairly heavy to render, and it's rendered twice at
each keypress on input.

The inline markdow supported is:

*italic* or _italic_
**bold** or __bold__
`inline code`
http://test.com links
\#status-tag

The block markdown supported is:

\# Headers
```
code blocks
```
> Quotereply

The styling is very basic at the moment, but can be improved.
Adding other markdown (photo,mentions) is straightforward and should
come at little performance cost (unless the component to render is
heavy, i.e a photo for example).

There are some behavioral changes with this commit:

1) Links are only parsed if starting with http:// or https://, meaning that
blah.com won't be parsed, nor www.test.com. This behavior is consistent
with discord for example and allows faster parsing at little expense to
ser experience imo. Fixes a few security issues as well.

2) Content is not anymore capped (regression), that's due to the fact that
before we only rendered text and react-native allowed us easily to limit
the number of lines, but adding markdown support means that this
strategy is not viable anymore. Performance of rendering don't see to be
very much impacted by this, I would re-introduce it if necessary, but
I'd rather do that in a separate PR.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-15 10:23:25 +01:00
Churikova Tetiana 3127f2fcb2
Reworked test_ens
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-14 12:04:26 +01:00
Churikova Tetiana 2ed62e53eb
added waits
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-12 12:44:51 +01:00
Andrea Maria Piana 2bb7c70216
[Fixes: #1520] Enable ens
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-08 13:03:42 +01:00
Churikova Tetiana 9205a147a2
tiny fix to test_send_funds_between_accounts_in_multiaccount_instance
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-07 16:26:37 +01:00
Churikova Tetiana 9311fee2ae
wallet update balance and fix failures
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-07 14:40:12 +01:00
Churikova Tetiana 2e8e1a35ad
adjust tests to eth.fleet
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-11-05 12:17:47 +01:00
Andrea Maria Piana 1c63c782a4
Dont use network info but only rely on peers count for mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-05 11:50:54 +01:00
Serhy e579412334
E2e check if seedphrase in new acc is true
Signed-off-by: Serhy <sergii@status.im>
2019-11-01 19:04:11 +02:00
Serhy c7cc80bc60
Followup e2e fix after PN remove
Signed-off-by: Serhy <sergii@status.im>
2019-10-30 21:34:53 +02:00
Churikova Tetiana bba6d735c3
Remove Myabe later after deleting PN
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-30 09:19:07 +01:00