ATS-CRM-ACT-010Record and maintain a piece of work: Acceptance Test Set
MarkdownRecord and maintain a piece of work: Acceptance Test Set
Coverage
Bound scenarios identify existing assertions; unbound scenarios remain proposed proof. Static inspection does not establish a passing execution.
Test Scenarios
12 scenarios proving CAP-CRM-ACT-010; 12 bound to an existing test.
02 Require an existing task classificationapinegativetest
- Proves
BR-CAP-CRM-ACT-010-02 - Preconditions
- The workspace can be addressed for task creation.
- Steps
- Create without a type and with an unknown type.
- Expected
- Both requests fail validation.
- Data
- Each run creates and isolates the records it needs.
- Bound to
- Source
- services-crm:modules/tasks/tests/e2e/tasks.e2e.spec.js#answers 400 for a task with no type, since every task is of some kind
05 Reject impossible due daysapinegativetest
- Proves
BR-CAP-CRM-ACT-010-05 - Preconditions
- A valid task type is available.
- Steps
- Create work due on February 30.
- Expected
- The response identifies the invalid due-date field.
- Data
- Each run creates and isolates the records it needs.
- Bound to
- Source
- services-crm:modules/tasks/tests/e2e/tasks.e2e.spec.js#answers 400 naming the field for a due date that is not a day of the calendar
10 Preserve partial edits and reject stale replacementapinegativetest
- Proves
BR-CAP-CRM-ACT-010-10 - Preconditions
- A saved task has a current version and optional details.
- Steps
- Patch one field, replace using an older version and submit a mismatched task reference.
- Expected
- The patch preserves other fields, stale replacement conflicts and the mismatched reference fails.
- Data
- Each run creates and isolates the records it needs.
- Bound to
- Source
- services-crm:modules/tasks/tests/e2e/tasks.e2e.spec.js#and leaves what the patch said nothing about as it was
11 Apply task update and deletion locksapinegativetest
- Proves
BR-CAP-CRM-ACT-010-11 - Preconditions
- Separate tasks have full and deletion-only locks.
- Steps
- Try prohibited editing and deletion.
- Expected
- The relevant locks cause refusals and preserve the records.
- Data
- Each run creates and isolates the records it needs.
- Bound to
- Source
- services-crm:modules/tasks/tests/e2e/tasks.e2e.spec.js#refuses deleting a task locked against deletes