analytics/test
Adrian Gruntkowski 74dcd3d29b
Switch listing team members view to read from Teams schemas (#4802)
* Modify test utils to use teams test factories

* Implement alternative routes for updating and removing membership

* Implement teams read adapter for listing site members and invitees

* Use new teams read adapter for Settings > People view

* Add `invitation_id` column to `guest_invitations` schema

* Add `invitation_id` to `GuestInvitation` schema and populate it

* Sync guest invitation's invitation ID instead of team invitation

* Expose guest invitation's invitation ID in sites list

* Sync guest invitation invitation ID instead of team invitation in backfill

* Update team consistency check to account for guest invitation IDs

* Remove workaround for no invitation ID on guest invitation in `list_people`

* Test listing pending invitations

* Test listing memberships

* Format

* Test membership changes via new routes

* Remove old membership altering routes

* Clean up

* Revert "Modify test utils to use teams test factories"

This reverts commit 5eb8754782.

* Ensure test setup provisions teams for people listing

* See if we can avoid exposing user id

* Revert "See if we can avoid exposing user id"

This reverts commit 672429b9d1.

* Fix faulty member label in people list

* Fix sites listing for a case of pending invite with existing pin

---------

Co-authored-by: hq1 <hq@mtod.org>
2024-11-13 12:32:57 +00:00
..
e2e add monitoring for websocket endpoint (#4676) 2024-10-14 16:57:43 +01:00
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible Switch listing team members view to read from Teams schemas (#4802) 2024-11-13 12:32:57 +00:00
plausible_web Switch listing team members view to read from Teams schemas (#4802) 2024-11-13 12:32:57 +00:00
priv Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
support Switch listing team members view to read from Teams schemas (#4802) 2024-11-13 12:32:57 +00:00
workers Address team syncing discrepancies (#4739) 2024-10-28 10:11:47 +00:00
test_helper.exs Channels in dashboard CSV export (#4787) 2024-11-11 09:31:57 +00:00