-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e2e for settings sync #13053
e2e for settings sync #13053
Conversation
Jenkins BuildsClick to see older builds (54)
|
67% of end-end tests have passed
Failed tests (23)Click to expand
Passed tests (47)Click to expand |
@Samyoul |
Hey @churik this is a |
Hey @Samyoul! One more request, can you rebase PR against the latest develop, please? |
055b440
to
8651d34
Compare
Hey @qoqobolo all rebased. |
builds failed:
|
018b672
to
fd45369
Compare
Build issues resolved |
Thanks @Samyoul Here are the issues found so far: ISSUE 1: Can't switch to MainnetNothing happens after the confirmation. Also, get the Reproduction:
OS: Android, iOS Logs: IMG_1057.MP4ISSUE 2: Crash when switching the
|
Woah, those are some very weird issues. I'll start looking at them now. |
@Samyoul Also, can you clarify please what do you mean exactly by these settings:
Thanks 🙏 |
65% of end-end tests have passed
Failed tests (57)Click to expand
Passed tests (107)Click to expand
|
ISSUE 5: Error when trying to re-login after 'manual' logoutIf the user is logged out by pressing the Steps:
OS: Android, iOS Logs: log_3.log IMG_1059.MP4 |
Hey @qoqobolo would you be able to send me the log cats for the fails? Thank you, sorry. |
100% of end-end tests have passed
Passed tests (5)Click to expand
|
@Samyoul thanx for PR ISSUE 9It seems that there is no sense to add "preferred-name" setting sync at this moment, as syncing of the list of connected ENS is not implemented yet. So, it results in situation when primary ENS is displayed in user's Profile after sync but lisе of connected ENS is empty. STR:
Actual result: no connected ENS in list on device 1. At the same time, Primary ENS is displayed in Profile Expected result: we need to implement sync of connected ENS first. After that it will make sense to add sync of "preferred-name" setting. Until it is implemented it is better not to sync "preferred-name" setting. telegram-cloud-document-2-5319165310736013108.mp4 |
ISSUE 10"send-status-updates" setting does not need any additional syncing after devices pairing, because this setting is synced automatically by default on all devices for the same account. So, there should not be situation when different status values will be selected on different devices and therefore there is no need for additional syncing after devices pairing. Also, I noticed, that after devices are being paired, changing user's status on one device does not result every time in changing status on paired device. So, I guess recent implementing of "send-status-updates" sync during pairing might somehow be conflicting with existing default status syncing and therefore not working as expected. |
f273cc7
to
236d18e
Compare
94% of end-end tests have passed
Failed tests (5)Click to expand
Passed tests (74)Click to expand
|
100% of end-end tests have passed
Passed tests (5)Click to expand
|
@Samyoul thanx for PR. Ready for merge. |
a86bc75
to
25221ca
Compare
status-im/status-go@f0d3e04...9f7fc78 Signed-off-by: Samuel Hawksby-Robinson <[email protected]>
25221ca
to
21b21bb
Compare
Test branch for Synchronised Settings. Origin PR : status-im/status-go#2478
This PR implements sync for the following settings:
messages-from-contacts-only
profile-pictures-show-to
profile-pictures-visibility
Dropped:
currency
gifs/favorite-gifs
gifs/recent-gifs
preferred-name
preview-privacy?
send-status-updates?
stickers/packs-installed
stickers/packs-pending
stickers/recent-stickers
Sync for settings works on pairing and on an ad hoc basis.
On pairing, all sync settings are synced over to the newly paired device.
On ad hoc, any sync setting that is updated will be synced over to paired device.
Issues
See profile pictures from
settingreact sends a float go expects an intSee below◽ ISSUE 6: Error on the synced device when changing currency
--➡️ Pushed to #13190 - Synchronise
currency
setting◽ ISSUE 7: The preview-privacy setting is not applied on the synced Android device
--➡️ Pushed to #13192 - Synchronise
preview-privacy?
setting◽ ISSUE 8: Error when adding a sticker pack
--➡️ Pushed to #13193- Synchronise Sticker Pack setting fields
◽ Issue 9: preferred name should be synced at the same time as ENS name list
--➡️ Pushed to #13204- ENS name list
usernames
should sync withpreferred-name
setting◽ Issue 10: "send-status-updates" setting does not need any additional syncing after devices pairing
--> On hold