Commit Graph

165 Commits

Author SHA1 Message Date
Yevheniia Berdnyk 5d21b1f5ae
e2e: fix for getting public key 2023-12-24 01:47:16 +02:00
Yevheniia Berdnyk 5ec5838657
e2e: added validation of encoded data in community and profile urls 2023-12-21 19:00:29 +02:00
Yevheniia Berdnyk 3ddb76faed
e2e: fixes 2023-12-13 02:28:24 +02:00
BalogunofAfrica f155d95d92
fix: 1:1 chat concerns (#17795) 2023-12-11 14:42:41 +01:00
Yevheniia Berdnyk c7e230d070
e2e: changed test order 2023-11-28 12:05:47 +02:00
yqrashawn 859cb19886
fix(universal-link): more new link format, handle old link format (#17721)
Co-authored-by: pavloburykh <pavlo@status.im>
2023-11-02 15:31:49 +08:00
Yevheniia Berdnyk 90d3a5a39d
e2e: test fixes 2023-10-31 02:21:52 +02:00
Yevheniia Berdnyk 17e9ce7513
e2e: added test for Add contact validation 2023-10-20 16:17:11 +03:00
Yevheniia Berdnyk 7c1850b901
e2e: some fixes and moved old ui tests to a separate dir 2023-10-07 03:24:51 +03:00
Yevheniia Berdnyk 70d6291c57
e2e: some todos and updates 2023-09-26 18:55:42 +03:00
Yevheniia Berdnyk 2c52001e22
e2e: fixes 12.09 2023-09-12 16:46:49 +03:00
Yevheniia Berdnyk 7609a07cc2
e2e: fixes 6.09 2023-09-06 16:23:24 +03:00
Yevheniia Berdnyk 69aeffd943
e2e: removed deprecated metods usage 2023-09-06 12:48:57 +03:00
Yevheniia Berdnyk 37af9d9b97
e2e: updated community channel element 2023-09-05 01:48:49 +03:00
Yevheniia Berdnyk 5647bb4ac9
e2e: fixes navigation, long press and so on 2023-09-01 18:21:03 +03:00
Yevheniia Berdnyk a416267094
e2e: appium upgrade 2023-08-25 17:32:54 +03:00
Yevheniia Berdnyk 21be0ed16c
e2e: fixes 25.08 2023-08-25 15:59:51 +03:00
flexsurfer 8701f3545d
[#16864] Design review: messages home (#17050)
---------

Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
Co-authored-by: Churikova Tetiana <tatiana@status.im>
2023-08-24 14:30:47 +02:00
Yevheniia Berdnyk 4dd5d88f0f
e2e: updated community tests 703086 and 702786 2023-08-22 21:15:14 +03:00
Yevheniia Berdnyk 92403f5d30
e2e: fix for navigation issue 2023-08-21 16:37:48 +03:00
Churikova Tetiana aecad2136e
e2e: starting to-dos 2023-08-17 05:09:19 +03:00
Tetiana Churikova 5a3d886055
e2e: discover communities (#16957) 2023-08-09 18:14:42 +02:00
Yevheniia Berdnyk e5b6378e15
e2e: updated tests with new communitites creation flow 2023-08-04 01:37:33 +03:00
Yevheniia Berdnyk 3f433d6f19
e2e: group chat unread messages 2023-08-02 19:05:29 +03:00
Yevheniia Berdnyk ce08131c01
e2e: new pub key (#16779)
Co-authored-by: Churikova Tetiana <tatiana@status.im>
2023-07-27 13:14:09 +02:00
Yevheniia Berdnyk eb3de978ce
e2e: mute chats 2023-07-24 17:43:44 +03:00
Yevheniia Berdnyk 1d0186a12e
fix for airplane mode 2023-07-15 00:17:17 +03:00
Yevheniia Berdnyk cd32806c96
e2e: Updated error message in 702783 2023-06-27 02:52:28 +03:00
John Ngei e8682ccbf6
home screen updates
* community home screen updates

* removed green border color on status indicator

* added accent color to plus button and jump-to button

* code reviews

* e2e: fix acc id new comm button

* resolved bugs

---------

Co-authored-by: pavloburykh <pavlo@status.im>
2023-05-19 16:08:52 +03:00
Churikova Tetiana dbaaa54c83
e2e: remove/switch profiles 2023-05-04 16:27:55 +02:00
Churikova Tetiana 6c0c742676
e2e: align with new communities / cleanup 2023-04-28 13:56:31 +02:00
Churikova Tetiana a74da63c32
e2e: activity center 2023-03-20 13:58:09 +01:00
Churikova Tetiana b5781a7a83
e2e: minor fixes 2023-03-15 16:49:37 +01:00
Icaro Motta e8556a9abf
Show AC unread indicator with counter and seen state color (#15304)
- Display Activity Center unread badge with the unread counter.
- Use the new seen state stored in `status-go` to change the color of the
  notification.
- Performance: split the `top-nav` component into left and right section
  components and render the unread indicator in a separate component to not
  trigger the re-render of the entire `top-nav` (as was before).
  
Fixes https://github.com/status-im/status-mobile/issues/14851

Demo: https://user-images.githubusercontent.com/46027/224299978-770dd5f1-302b-4375-af2b-3cd181ffdc9d.webm

Notes
=====

- Fix/improve: `quo/counter` displayed `NaN` to the user if the input value was
  an empty string.
- In Figma, there's a border around the unread indicator. I didn't implement
  this because the ideal solution IMO involves changing the `quo/counter`
  component a little bit because the width of the component varies according to
  the content displayed (1, 9, 99, 100, etc) and I wanted to the right thing in
  a separate PR.

Design notes
============

There's an ongoing conversation with the Design team to decide what to do with
the gray indicator on top of the bell icon, since there's little contrast when
it's is in the `seen` state.

Platforms
=========

- Android
- iOS

Steps to test
=============

- Open Status
- Receive one or more notifications in the Home screen and check the unread
  indicator is blue and has a counter.
- Open the AC and close it, notice the unread indicator is now in the `seen`
  state. You can close the app and re-open and the state is persisted.
- Mark notifications as read/unread at will, check the unread counter is
  correct.
2023-03-15 12:41:34 -03:00
Icaro Motta 9473d3f40c
Swipe gestures for Activity Center notifications with CTA (#15284)
Implements swipe actions for notifications with call to action (e.g. pending
contact requests, unverified identity verifications, etc).

Fixes https://github.com/status-im/status-mobile/issues/15118

According to the Design team, the goal is to deliver a consistent experience to
users, so whenever the user sees a notification with buttons, the same actions
can be taken via the swipe buttons.

Note: swipe buttons are using placeholder icons while the Design team works out
which ones to use

Additionally, a bunch of fixes:

- Fix: outgoing pending contact requests were not being removed from the UI when
  cancelled.
- Fix: Membership tab not showing unread indicator.
- Fix: dismissed membership notification not marked as read.
- Fix: dismissed membership notification was displaying decline/accept buttons.
  Regression came from changes in status-go related to soft deletion of
  notifications.
- Fix: incorrect check for the pending state of a contact request.
- Fixed lots of bugs for identity verification notifications, as it was
  completely broken. Unfortunately, somebody made lots of changes without
  actually testing the flows.
- Add basic error handling and log if accepting, declining or canceling contact
  requests fail.

The demo shows an identity verification with swipe actions to reply or decline.
[identity-verification-swipe-to-reply.webm](https://user-images.githubusercontent.com/46027/223565755-b2ca3f68-12e2-4e1e-9e52-edd52cfcc971.webm)

Out of scope: The old quo input is still in use in the identity verification
notification. This will eventually be solved by issue
https://github.com/status-im/status-mobile/issues/14364

### Steps to test

Notifications with one or more buttons (actions) are affected by this change,
because now the user can also swipe left/right to act on them.

- Membership notifications: private group chat. The following PR explains how to
  generate them https://github.com/status-im/status-mobile/pull/14785
- Contact requests, and community gated requests to join (Admin tab).
- Identity verifications. I believe the only way to test identity verification
  flows at the moment is to use the Desktop app, since initiating the challenge
  is not implemented in Mobile yet.
- Mentions and replies don't have new swipe buttons because they don't have call
  to action buttons throughout their lifecycle.

Steps to test identity verification flows:

#### Identity verification flow 1

- `A` and `B` are mutual contacts.
- `A` sends a verification request to `B`.
- `A` should not see any notification yet.
- `B` should receive an identity verification notification. `B` can either
  decline or reply.
- `B` declines and the status `Declined` is shown instead of buttons.
- `B` can now either swipe to toggle read/unread or swipe delete the
  notification.
- `A` should not receive any notification after `A` declined.

#### Identity verification flow 2

- `A` and `B` are mutual contacts.
- `A` sends a verification request to `B`.
- `A` should not see any notification yet.
- `B` should receive an identity verification notification. `B` can either
  decline or reply.
- `B` press `Reply` and a bottom sheet is displayed with a text input.
- `B` sends the reply/answer message and the status `Replied` is shown instead
  of buttons.
- `B` can now either swipe to toggle read/unread or swipe to delete the
  notification.
- `A` should receive a notification with the reply from `B`.
- `A` can either mark the answer as untrustworthy or accept it (trust it) via
  the normal buttons, as well as via the swipe left/right buttons.
- If `A` accepts the answer, then the status `Confirmed` is shown instead of
  buttons. On the other hand, if `A` marks as untrustworthy, then the status
  `Untrustworthy` is shown instead of buttons.
- `B` should receive no further notifications due to `A`s actions.
- `A` can now either swipe to toggle read/unread or swipe delete the
  notification.
2023-03-14 12:34:13 -03:00
Churikova Tetiana ee62ffdc2c
e2e: AC actions 2023-03-13 14:29:26 +01:00
Churikova Tetiana 0345871b66
e2e: block user test 2023-03-08 12:21:10 +01:00
Churikova Tetiana 06192e7a24
e2e: outgoing CR + new UI 2023-03-01 12:36:49 +01:00
Churikova Tetiana 432f7bcd8c
e2e: 1-1 chat, communities 2023-02-24 20:05:30 +01:00
Churikova Tetiana c1e3a38cb2
e2e: saucelab new api + remove workarounds 2023-02-02 12:40:19 +01:00
Churikova Tetiana 6530713c3f
e2e: communities fix 2023-01-27 10:48:52 +01:00
Churikova Tetiana e289ad8968
e2e: fixes + workarounds 2023-01-09 14:46:24 +01:00
Churikova Tetiana 8dac11544e
e2e: activity centre 2022-12-29 14:49:35 +01:00
Yevheniia Berdnyk cbb6571954
e2e: Updated tests 702807 and 702808 2022-12-19 04:02:57 +02:00
pavloburykh f47bc6e40e
e2e: new community tests 2022-12-14 10:07:46 +01:00
Churikova Tetiana c13be92505
e2e: new activity center flow 2022-12-09 13:58:54 +01:00
Jamie Caprani 6d5ff4aa92
chore: fix issues with e2e tests after refactors (#14440) 2022-11-28 03:17:12 -08:00
Yevheniia Berdnyk 946640339a
e2e: pin messages in 1-1 and group chats 2022-11-21 06:49:53 +02:00
Churikova Tetiana 1941591110
new ui e2e: reaction and text message in 1-1 2022-10-26 17:14:25 +02:00
diana 78b0bf0bda
e2e:fix nightly 18/08 2022-08-18 17:15:10 +02:00