Xray
all clusters 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 1 hour▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 09:05:53.
› →|
updated 5d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.

Test cases › Sites › Site team

TC-SITE-033 A member cannot be removed from a site while they are on an active study team Medium

revision 1 · last changed 6d ago by import from the test management tool

Role
CRO organization member
Preconditions
Organization type: CRO. Signed in to a CRO organization, on the Team tab of a managed site with a member who is also on an active study team.
Passes when
The removal is refused and the member remains on the site's team.
Source
Implementation (UI); back end confirms
Observations
TC-07 confirms Remove from site and asserts the toast "staff member is still on 1 active study team(s)" and that the row remains, on both the site team and the study site team. The skip guard on this spec is not a gap: data.json is committed with croOrgSetup true, and global setup sets it or throws, so the test runs in a normal run. The previously cited API test covers archiving a study-team member, not removing them from a site, so it is not cited. No API test covers remove-from-site while on a study team.

Steps

#StepExpected result
1Open that member's row menu and choose Remove from site.A confirmation dialog opens.
2Confirm the removal.The removal is refused and a message states the person is still on an active study team.
3Look at the team list.The member is still listed.

Automated tests (1)

SuiteTestTied byWhere it stands
UI CRO Add Site › TC-07: Staff cannot be removed from site while on an active study team
croAddSite::TC-07: Staff cannot be removed from site while on an active study team
named in the old tool
passed e2e-tests-master #882