status-desktop/test
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
..
e2e fix(members): fix member count not updating correctly on join (#16680) 2024-11-01 09:45:09 -04:00
go/test-wallet_connect/modal chore(wallet): add integration dev tests for pending tx status update 2024-01-12 22:23:39 +01:00
libs/StatusGoQt chore(test): drop usage of ganache in old E2E tests 2023-11-16 12:21:25 +01:00
nim remove old code about ID verification and fix trustStatus bug (#16548) 2024-10-29 14:08:12 -04:00
status-go/integration tests(integration) add integration test to debug MTID transfer 2024-04-05 20:18:15 +02:00
ui-test [StatusQ] Move StyledTextField to StatusQ 2024-09-13 16:40:47 +02:00
unit chore(CPP): Basic project configuration setup using Qt6 2022-06-30 12:16:33 +02:00