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
| # | Step | Expected result |
|---|---|---|
| 1 | Open that member's row menu and choose Remove from site. | A confirmation dialog opens. |
| 2 | Confirm the removal. | The removal is refused and a message states the person is still on an active study team. |
| 3 | Look at the team list. | The member is still listed. |
Automated tests (1)
| Suite | Test | Tied by | Where 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 |