Test cases › Sites › Staff list
TC-SITE-074 Deleting is offered only for a staff member who is already archived High
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 licensed CRO organization with at least one archived and one active staff member.
- Passes when
- Delete appears only for an archived person.
- Source
- Implementation (UI); UI-only gate
- Observations
- Back end: the server allows deleting a staff member who is not archived; archive-first is enforced only by the menu (unconfirmed code reading). The service does not enforce this rule either: test_delete_active_staff_removes_clinop deletes a non-archived person successfully.
Steps
| # | Step | Expected result |
|---|---|---|
| 1 | Open the row menu on an active staff member. | No Delete action is offered. |
| 2 | Move to the Archived filter and open the row menu on an archived staff member. | A Delete action is offered, and the editing actions offered for an active person are not. |
Automated tests (2)
| Suite | Test | Tied by | Where it stands |
|---|---|---|---|
| UI | CRO Add Site › TC-10: Delete archived staff croAddSite::TC-10: Delete archived staff |
named in the old tool | |
| UI | Sites: Staff row menus and studies › TC-02: TC-SITE-074: Delete is offered only for an archived staff member staffRowMenus::TC-02: TC-SITE-074: Delete is offered only for an archived staff member |
its title cites the code |
Note from the old tool: TC-10 deletes an archived person. Nothing asserts that Delete is absent for an active person or that the editing actions disappear for an archived one.