ATS-CRM-ACT-001Log one interaction for all related people and organizations: Acceptance Test Set
MarkdownTest Scenarios
13 scenarios proving CAP-CRM-ACT-001; 13 bound to an existing test.
03 Select a different primary record in the formbrowsertest
- Proves
BR-CAP-CRM-ACT-001-02 - Preconditions
- A contact has an organization available for linking.
- Steps
- Log an activity and make the organization chip primary.
- Expected
- The stored primary link names the organization.
- Data
- Each run creates and isolates the records it needs.
- Bound to
- Source
- react-console:lib/activities/links.test.ts#makes a chosen contact or organization the one primary link
09 Clean note content and reject excessive retained textunitnegativetest
- Proves
BR-CAP-CRM-ACT-001-08 - Preconditions
- The sanitizer and a valid activity fixture are available.
- Steps
- Supply unsafe markup, empty markup and more than 100,000 retained characters.
- Expected
- Unsafe content disappears, empty content becomes empty, and excessive content fails by field.
- Data
- Each run creates and isolates the records it needs.
- Bound to
- Source
- services-crm:modules/activities/tests/unit/services/activities/activity-body.spec.js#drops a script and its content
13 Reject activity custom field valuesapinegativetest
- Proves
BR-CAP-CRM-ACT-001-13 - Preconditions
- An active type permits a valid activity.
- Steps
- Include custom field values in the save.
- Expected
- The API rejects the unsupported custom-field property.
- Data
- Each run creates and isolates the records it needs.
- Bound to
- Source
- services-crm:modules/activities/tests/e2e/activities.e2e.spec.js#refuses a custom field value, an activity having no custom fields (R2-ARCH-001): 400 naming custom_fields