Jonathan Rainville
36f2bb79a9
fix(members): fix member count not updating correctly on join ( #16680 )
...
* fix(members): fix member count not updating correctly on join
Fixes #16672
The issue was that the requests to join were not handled in time for when the community update came in, so when we udpated the section, we got both the normal member and the pending member still and they clashed and the pending one came on top, meaning that the joined member was not counted.
On a restart it would fix itself.
To fix it, I reordered the parsing of communities and requests, so that the request is updated first, ie deleted because it is now accepted.
I also fixed the function that handles request to that the state gets updated at all times. Before, it would only get updated if it was not accepted, pending or waiting for address.
Finally, there was a weird scenario where as a TM, I saw myself as pending even if I was joined, so I fixed it by removing duplicates.
* chore(@e2e): remove xfail mark from pin messages test
---------
Co-authored-by: Anastasiya Semenkevich <anastasija.ig@gmail.com>
2024-11-01 09:45:09 -04:00
Anastasiya Semenkevich
893fe604e8
chore(@e2e): mark test as xfail because of issue
...
https://github.com/status-im/status-desktop/issues/16683
2024-11-01 14:50:17 +03:00
Anastasiya Semenkevich
eae6beab9c
chore(@e2e): mark pin messages test with xfail
...
https://github.com/status-im/status-desktop/issues/16672
2024-10-31 13:18:49 +03:00
Anastasiya Semenkevich
208774d7bc
chore(@e2e): remove xfail mark for test, bug is fixed
2024-10-30 16:01:36 +03:00
Anastasiya Semenkevich
f1ae8a2652
chore(@e2e): enable toast verification for accepting contact request
2024-10-30 12:40:33 +03:00
Anastasiya
ca1182e3f9
chore(@e2e): various fixes for tests
2024-10-29 21:16:40 +03:00
Anastasiya Semenkevich
60a1532087
chore(@e2e): remove emojihash property as it is not accessible anymore
2024-10-28 23:16:31 +01:00
Anastasiya
5842600eb0
chore(@e2e): temp disable adding color and emoji for account creation
2024-10-23 13:23:33 +03:00
Anastasiya Semenkevich
7b3936522f
chore(@e2e): edit community test improved
2024-10-23 11:31:26 +03:00
Anastasiya Semenkevich
913f92fd98
Update test_messaging_1x1_chat.py
2024-10-22 15:54:31 +02:00
Anastasiya Semenkevich
692e8df49e
chore(@e2e): fix assets paths
2024-10-22 15:54:31 +02:00
Anastasiya Semenkevich
f48eed2b28
chore: refactor community tests to use random community data
2024-10-18 20:14:28 +03:00
Anastasiya Semenkevich
3623807f62
chore: update password range and make change password test required for PRs
2024-10-16 22:24:56 +02:00
Anastasiya Semenkevich
eeef165743
chore: fix community tests to have tag filled in
2024-10-15 10:29:31 +03:00
Anastasiya Semenkevich
e864897863
chore: filling in tags for community is now required
2024-10-14 11:39:58 +02:00
Anastasiya Semenkevich
5518df3af9
chore(@e2e): enable change password test in nightly
2024-10-14 11:52:23 +03:00
Anastasiya Semenkevich
748b9b94fc
chore(@e2e): update test for sharing wallet address
2024-10-14 11:52:23 +03:00
Anastasiya Semenkevich
bebeaf2de3
chore: change tests for adding saved address according to new flows
2024-10-11 18:48:37 +02:00
Anastasiya Semenkevich
65798a0046
chore: fix tests
2024-10-11 01:37:10 +03:00
Anastasiya
f536c3447f
chore: update tests
2024-10-10 10:33:13 +03:00
Anastasiya Semenkevich
a4e7b63918
chore: stabilise test for permission management by randomisation
2024-10-09 13:44:06 +03:00
Anastasiya Semenkevich
9c04d2ee9b
tests: keypair rename test simplified
2024-10-08 13:10:15 +03:00
Anastasiya Semenkevich
7c5af79b19
chore: update test
2024-10-07 11:08:34 +03:00
Anastasiya Semenkevich
ffc5da3805
tests: add better condition when waiting for status change
2024-10-04 12:07:40 +03:00
Anastasiya Semenkevich
4133afb676
chore: squeeze 2 tests into one, so links previews are checked on PR level too
2024-10-02 16:12:43 +03:00
Anastasiya Semenkevich
e015fface7
chore: change 1x1 chat to add contacts through settings
2024-10-01 23:57:41 +02:00
Anastasiya Semenkevich
54afe78b94
tests: update existing test to open send modal from chat message
2024-09-27 21:27:22 +03:00
Anastasiya Semenkevich
1af622a8db
chore: fix community channels and categories locators
2024-09-26 16:46:26 +03:00
Anastasiya Semenkevich
debae1e5f6
chore: fix 1x1 chat verification
2024-09-25 17:29:25 -04:00
Anastasiya Semenkevich
5476cde165
chore: tiny fixes for several failures in nightly
2024-09-25 17:12:45 +03:00
Anastasiya Semenkevich
6f80461371
tests: send random NFT
2024-09-25 11:15:29 +03:00
Anastasiya Semenkevich
ca042f91ef
chore: merge tests into a single flow
2024-09-24 12:25:53 +03:00
Anastasiya Semenkevich
84d2e830ea
chore: fix sync devices test and enable it back in PRs
2024-09-23 14:09:19 +03:00
Anastasiya
1601da58ff
Update test_onboarding_sync_with_code.py
2024-09-20 18:05:34 +03:00
Anastasiya
2770295bf2
chore: disable sync test temp from critical path
2024-09-20 18:05:34 +03:00
Anastasiya Semenkevich
ffe046df29
chore: fix nightly failures
2024-09-16 19:47:15 +03:00
Anastasiya Semenkevich
9050459ee8
chore: add object name for collectibles delegates
2024-09-12 09:53:42 +03:00
Anastasiya Semenkevich
ef60105c72
tests: merge 2 tests into one
2024-09-11 09:49:47 +03:00
Anastasiya Semenkevich
2b0af81139
chore: extract methods to helper class
2024-09-10 11:23:14 +03:00
Anastasiya Semenkevich
e41b9ec12c
chore: remove fixture. fixed tests
2024-09-10 11:23:14 +03:00
Anastasiya Semenkevich
43dff60e79
chore: use L2 networks for minting community tokens
2024-09-06 20:40:42 +03:00
Anastasiya Semenkevich
fdefaf5a54
chore: do not expose seed phrase in allure reports in params fixture
2024-09-06 20:40:42 +03:00
Anastasiya Semenkevich
44b3754fda
chore: temp disable test to mint tokens, need to transfer funds to l2 and use lower fees
2024-09-05 17:29:39 +03:00
Anastasiya Semenkevich
daad4e6d47
chore: use env var for sensitive information
2024-09-05 17:29:39 +03:00
Anastasiya Semenkevich
e2e45fec3b
chore: fix method reference
2024-09-05 10:39:49 +03:00
Anastasiya Semenkevich
32d50d6e86
tests: test for sending 0 eth
2024-09-04 16:16:10 +03:00
Anastasiya Semenkevich
94c62dae26
chore: enable back test with context menu interactions
2024-09-04 12:06:11 +03:00
Anastasiya Semenkevich
1e06a9c15a
tests: enable back buy ens name test
2024-09-02 19:30:58 +03:00
Anastasiya Semenkevich
2c2f87f654
tests: temp exclude test from critical path
...
Referece: https://github.com/status-im/status-desktop/issues/16236
2024-09-02 15:49:48 +03:00
Anastasiya Semenkevich
36e383eec6
chore: update random seed generator
2024-09-02 10:01:35 +03:00