ATS-CRM-DQ-004Check drafts and account for block overrides: Acceptance Scenarios
MarkdownCheck drafts and account for block overrides: Acceptance Scenarios
Coverage
Test Scenarios
8 scenarios proving CAP-CRM-DQ-004; 8 bound to an existing test.
02 Checking does not create review workapitest
- Proves
BR-CAP-CRM-DQ-004-04 - Preconditions
- A draft resembles an existing contact.
- Steps
- Check the draft and read candidates afterwards.
- Expected
- The review queue retains its earlier contents.
- Data
- The existing scenario setup supplies the required records.
- Bound to
- Source
- services-crm:modules/duplicates/tests/e2e/duplicates.e2e.spec.js#writes nothing: the draft is not a record, so the queue is as it was
06 Organization exceptions use the same accountable boundaryapitest
- Proves
BR-CAP-CRM-DQ-004-10 - Preconditions
- Configure an organization blocker and an existing match.
- Steps
- Create ordinarily, then override with authority and a reason.
- Expected
- Ordinary creation identifies the blocking match; the authorized exception creates an audited organization.
- Data
- The existing scenario setup supplies the required records.
- Bound to
- Source
- services-crm:modules/duplicates/tests/e2e/organization-block-rules.e2e.spec.js#refuses an ordinary user’s create 409 possible_duplicate, naming the held organization
08 Unsupported check record types are rejectedapinegativetest
- Proves
BR-CAP-CRM-DQ-004-13 - Preconditions
- Use an authorized duplicate reader.
- Steps
- Request a draft check for an unsupported record type.
- Expected
- The API returns an invalid-request refusal naming the type.
- Data
- Use the records and caller described in this scenario.
- Bound to
- Source
- services-crm:modules/duplicates/aws/api/duplicates.routes.ts:objectTypeOf