Commit Graph

85 Commits

Author SHA1 Message Date
Gheorghe Pinzaru 0f07f3eecb
Update image resizer
Do not resize images in camera roll

request permission on camera roll

fix images e2e

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-20 11:54:31 +03:00
Churikova Tetiana c1583249f6
e2e for scanning chat key and small fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-23 11:14:16 +02:00
Churikova Tetiana 4941cc9a82
image e2e and nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-12 17:34:47 +02:00
Churikova Tetiana 0603f84ab8
small fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-09 16:54:19 +02:00
Serhy 5720151484
Update e2e 2020-06-01 11:34:14 +02:00
Churikova Tetiana c3d14f1664
new e2e: stickers, share links, search
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-20 17:46:35 +02:00
Churikova Tetiana 966b6e5a33
refactor group e2e + send_stt_in_1_1 + deleted obsolate e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-10 13:05:24 +02:00
Churikova Tetiana 8aff7f487d
refactoring e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-17 18:37:16 +01:00
Churikova Tetiana 4d0fd4389e
access-id + start new chat fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-03 16:02:45 +01:00
Serhy dcfac1c4e2
Fix tests and disable non-relevant
Signed-off-by: Serhy <sergii@status.im>
2020-02-05 21:30:31 +02:00
Serhy 9fb513cea0
Disable editprofile tests
Signed-off-by: Serhy <sergii@status.im>
2020-01-29 11:53:31 +02:00
Churikova Tetiana d5e2ed4475
align e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-21 15:21:52 +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 df232889f4
Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 16:18:08 +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
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
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
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 c7cc80bc60
Followup e2e fix after PN remove
Signed-off-by: Serhy <sergii@status.im>
2019-10-30 21:34:53 +02:00
Churikova Tetiana bada7c4dd4
added more waiting to some elements
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-29 18:23:38 +01:00
Serhy 5b742155d0
Soft errors handing separated per test
Signed-off-by: Serhy <sergii@status.im>
2019-10-29 16:07:27 +02:00
Churikova Tetiana dbb4dfa61b
e2e about dapp popup, fix e2e for switching mailserver, skipped low-prio blocked e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-21 14:51:59 +02:00
Serhy c872c5c487
Enable high priority tests in PRs
Also:
- add ci/tests/Jenkinsfile.e2e-prs
- remove maybe_later_button click after new onboarding
- update job name for e2e tests
- Fix testrail checklist creationg for nightly builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-14 13:52:49 +02:00
Churikova Tetiana 2d1fff479a
Fix stickers \ collectibles
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-10-10 15:51:21 +02:00
Serhy 58c64608d0
Test to check cryptokitty in wallet collectibles
Signed-off-by: Serhy <sergii@status.im>
2019-10-04 19:29:16 +03:00
yevh-berdnyk e02b7489cc
Updated and added e2e tests
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-09-05 12:58:56 +02:00
yevh-berdnyk 59000d5698
False failed tests fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-23 14:14:44 +02:00
yevh-berdnyk da7a69bc02
Fixed tests with profile picture editing verifications
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-21 09:26:24 +02:00
Churikova Tetiana 68da6159ed
skipped some steps in e2e due to deleteing commands
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-07 11:19:20 +02:00
Churikova Tetiana 7f05c09632
ens e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-08-02 11:37:05 +02:00
yevh-berdnyk 6091517110
E2E tests false failures fixes
Signed-off-by: Serhy <sergii@status.im>
2019-07-30 16:07:27 +03:00
yevh-berdnyk ce84f81741
Re-enabled and updated e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-29 14:54:25 +03:00
yevh-berdnyk 7e061e9cd1
False failed tests fixed - chat, browsing, deeps links, transactions
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2019-07-26 00:54:48 +03:00
Serhy 0c6c185394
Fixing e2e tests
Signed-off-by: Serhy <sergii@status.im>
2019-07-18 19:28:50 +03:00
Serhy 840fbfd2d7
E2e nightly fixes
Signed-off-by: Serhy <sergii@status.im>
2019-07-16 11:28:27 +03:00
Serhy 3c0a24f429
fix e2e wallet setup
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-07-12 12:36:45 +02:00
Serhy d92eb8374f
e2e fix after new onboarding
Signed-off-by: Serhy <sergii@status.im>
2019-07-12 13:02:10 +03:00
Serhy f2135c019f
Disable e2e until 8234 merged
Signed-off-by: Serhy <sergii@status.im>
2019-07-04 12:54:15 +03:00
Churikova Tetiana d4aac3c423
fix for 4 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-07-02 09:59:01 +02:00
Churikova Tetiana 0c644705b3
fixed 19 e2e and skipped 3 e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-07-01 09:11:50 +02:00
Churikova Tetiana eef777175e
Fix e2e with default usernames instead of custom
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-06-26 17:17:08 +02:00
Churikova Tetiana 17c163ce48
Reworked test_purchase_pack_and_send_sticker
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-13 15:57:20 +02:00
Churikova Tetiana 5ce43b75f3
Fixed failed e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-05-10 11:20:41 +02:00
Serhy 71852bf111
Adopt e2e to new Status.im design
Signed-off-by: Serhy <sergii@status.im>
2019-05-03 09:43:47 +03:00
Anton Danchenko 43ac92b9b0
enable stickers in e2e builds and added accessibility labels
Signed-off-by: Serhy <sergii@status.im>
2019-04-26 14:32:33 +03:00
Anton Danchenko b16c224fd5
add daaps view, remove start_chat view; desktop and wallet modal
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-04-11 04:14:20 +03:00
Jakub Sokołowski 1d00e9bb3d
change App ID for PRs on Android to avoid replacing release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-10 11:49:40 +02:00
Anton Danchenko e87d93c820
open dapp fix
Signed-off-by: Serhy <sergii@status.im>
2019-03-20 13:45:10 +02:00
decanus 8d9664581f
changed translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-19 12:57:42 +01:00