status-desktop/test/e2e/tests
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
..
communities fix(members): fix member count not updating correctly on join (#16680) 2024-11-01 09:45:09 -04:00
crtitical_tests_prs chore(@e2e): remove xfail mark for test, bug is fixed 2024-10-30 16:01:36 +03:00
onboarding chore: refactor community tests to use random community data 2024-10-18 20:14:28 +03:00
online_identifier chore: refactor community tests to use random community data 2024-10-18 20:14:28 +03:00
settings chore(@e2e): various fixes for tests 2024-10-29 21:16:40 +03:00
transactions_tests chore(@e2e): edit community test improved 2024-10-23 11:31:26 +03:00
wallet_main_screen chore(@e2e): mark test as xfail because of issue 2024-11-01 14:50:17 +03:00
__init__.py tests: add soft assertion 2024-08-27 15:24:55 +02:00