Commit Graph

144 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 9eaf4cc4ea chore(@e2e): improve permission test 2024-11-06 14:58:31 +03:00
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 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 ca1182e3f9 chore(@e2e): various fixes for tests 2024-10-29 21:16:40 +03:00
Anastasiya Semenkevich 7b3936522f chore(@e2e): edit community test improved 2024-10-23 11:31:26 +03: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 eeef165743 chore: fix community tests to have tag filled in 2024-10-15 10:29:31 +03:00
Anastasiya Semenkevich a4e7b63918 chore: stabilise test for permission management by randomisation 2024-10-09 13:44:06 +03:00
Anastasiya Semenkevich 1af622a8db chore: fix community channels and categories locators 2024-09-26 16:46:26 +03:00
Anastasiya Semenkevich 1e06a9c15a tests: enable back buy ens name test 2024-09-02 19:30:58 +03:00
Anastasiya Semenkevich 3c4eb3180d tests: fix typo in method name and update PRs tests list 2024-08-30 16:14:04 +03:00
Anastasiya Semenkevich 5fa33249c7 tests: fix editing with right click 2024-08-29 18:06:26 +03:00
Anastasiya Semenkevich d698d81e3f tests: test for blocking/unblocking user is now using brand new accounts 2024-08-28 14:26:27 +03:00
Anton c2b0a1c7d1 tests: add soft assertion 2024-08-27 15:24:55 +02:00
Anastasiya Semenkevich 66fac6fa96 tests: refactor user.py 2024-08-21 17:06:41 +03:00
Anastasiya Semenkevich de7872546a tests: reorganise automated tests executed in prs for better visibility 2024-08-16 12:08:32 +03:00
Anastasiya Semenkevich 5cae2edf08 chore: make tests running for dev build and update marks 2024-08-08 13:22:33 +03:00
Valentina1133 2cd6de11c9
test (#15821) 2024-08-02 15:00:54 +07:00
Valentina1133 44281aabd0
test: community ban member steps added (#15845) 2024-07-30 12:44:35 +07:00
Valentina1133 bb4c94438f
chore: owner and member can view and post in non-restricted channel (#15421) 2024-07-19 17:44:04 +07:00
Anastasiya Semenkevich 046892dd98 chore: temp remove the wrong test case reference 2024-07-15 07:59:08 +03:00
Valentina1133 4dc170688e
test: hidden community channel test added (#15485) 2024-07-11 17:51:56 +07:00
Valentina Novgorodtceva cd37994e6b chore: some changes to stabilise tests, skipped assets sorting 2024-07-01 13:56:22 +03:00
Anastasiya Semenkevich 5684aac868 tests: replace seed recovery with new user creation instead 2024-07-01 13:41:57 +03:00
Valentina Novgorodtceva c71d11e990 chore: duplicate permission step added to permission test 2024-06-27 09:58:24 +03:00
Valentina Novgorodtceva 8bc24c5803 chore: fix for community name 2024-06-26 11:41:10 +03:00
Valentina Novgorodtceva afde836517 test: replaced old test of sending request to send/accept/decline request and remove contact 2024-06-24 16:24:57 +03:00
Valentina1133 c3112e9f23
chore: replaced inviting people to community by another method (#15226) 2024-06-20 17:18:10 +07:00
Valentina1133 c8eb48cf04 chore: changes for mint owner token test (#15270) 2024-06-20 11:24:35 +03:00
Patryk Osmaczko 774c08eec7 chore(tests): make permissions tests required for PRs 2024-06-19 13:58:55 +02:00
Patryk Osmaczko dc49843948 Revert "chore: disabled permissions tests, there is a bug"
This reverts commit 4226eaed0b.
2024-06-19 13:58:55 +02:00
Valentina Novgorodtceva 4226eaed0b chore: disabled permissions tests, there is a bug 2024-06-19 11:44:19 +03:00
Anastasiya Semenkevich 1c5aad7733 chore: replace conditions with function call in system.py 2024-06-18 15:04:44 +03:00
Valentina Novgorodtceva 28a7b691cd chore: fix for click_mint 2024-06-17 15:43:32 +03:00
Valentina1133 1250373037
chore: more verifications added (community title and description on web page) (#15022) 2024-06-13 21:18:41 +07:00
Valentina1133 675ef05eaa
Fixes and changes for tests stability (#15034)
* chore: fixes for community channel test

* chore: changes for wallet tests stabilisation and increase of timeout for pin unpin test
2024-06-05 14:52:32 +07:00
Valentina Novgorodtceva 2467af110f test: share community link test 2024-06-03 10:13:14 +03:00
Anastasiya Semenkevich af8ed6c068 chore: add transaction mark for mint owner token test 2024-05-29 16:27:10 +03:00
Valentina1133 9d370a621b Update tests/communities/test_communities_adding_contact_from_channel.py
Co-authored-by: Anastasiya <82375995+anastasiyaig@users.noreply.github.com>
2024-05-29 12:28:08 +03:00
Valentina1133 48d5239273 Update tests/communities/test_communities_adding_contact_from_channel.py
Co-authored-by: Anastasiya <82375995+anastasiyaig@users.noreply.github.com>
2024-05-29 12:28:08 +03:00
Valentina Novgorodtceva 390a3e4d77 chore: increased timeout 2024-05-29 12:28:08 +03:00
Valentina Novgorodtceva 45f016efb9 test: add contact from community channel test added 2024-05-29 12:28:08 +03:00
Valentina Novgorodtceva 4cf0626a25 chore: some changes for stability 2024-05-16 15:41:00 +07:00
Valentina Novgorodtceva 44c0a3feac test: min owner token test added 2024-05-16 15:41:00 +07:00
Valentina Novgorodtceva d9fb163cb7 chore: unpin method reworked 2024-05-08 17:31:39 +07:00
Valentina Novgorodtceva 56f8359296 chore: edited tests with steps of creation community 2024-05-03 19:20:25 +03:00
Valentina Novgorodtceva 0e1d0bc854 chore: fix creation of community 2024-05-03 19:20:25 +03:00
Anastasiya Semiankevich 45fc6ec608 chore: no colors validation for channels test 2024-05-02 13:21:04 +03:00
Anastasiya Semiankevich d06cfd342a chore: raise lookup error if contacts list is empty and don't waste 30 minutes 2024-05-02 13:21:04 +03:00