ATS-CRM-DQ-003 Set the response to duplicate matches: Capability Test Specification
Markdown Design / CRM / Duplicate Review and Record Merging / Locate and Prevent Duplicate Records / Capability Test Specification Set the response to duplicate matches: Capability Test Specification Coverage The rule matrix names the authored checks. A covered category means that a scenario exists; it does not report a passing execution. The coverage notes and findings identify missing checks, while execution sources retain the exact assertions inspected.
Required Rule Scenarios BR-CAP-CRM-DQ-003-01ATS-CRM-DQ-003-01 , ATS-CRM-DQ-003-09 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-02ATS-CRM-DQ-003-02 , ATS-CRM-DQ-003-09 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-03ATS-CRM-DQ-003-03 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-04ATS-CRM-DQ-003-04 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-05ATS-CRM-DQ-003-05 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-06ATS-CRM-DQ-003-06 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-07ATS-CRM-DQ-003-07 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-08ATS-CRM-DQ-003-11 , ATS-CRM-DQ-003-12BR-CAP-CRM-DQ-003-09ATS-CRM-DQ-003-08 , ATS-CRM-DQ-003-12
Place a warning before the blocking rule, create the matching contact, restore the order and repeat. Move a qualifying warning ahead of a blocking rule, check a draft, then restore the order and request a re-check of saved records.
These sequences test the handoffs named in the interaction coverage record. A proposed sequence remains unbound until an executable run checks its combined outcome; component assertions alone leave that obligation open.
Show evidence (sources, provenance, origins, pinned commits)Coverage Rule covered Transition covered Validation covered Permission covered Edge covered Failure gap: FND-CRM-DQ-054 Boundary covered Concurrency covered Invariant covered Interaction covered Test Scenarios 12 scenarios proving CAP-CRM-DQ-003 ; 10 bound to an existing test.
04 Evidence patterns require their named agreements rule unit test
Proves BR-CAP-CRM-DQ-003-04 Preconditions Prepare pairs with and without e-mail, name, place, phone and domain agreement. Steps Evaluate all configured match kinds. Expected Each requires its stated evidence; name disagreement cannot satisfy name-and-postal matching and domain alone cannot satisfy name-and-domain matching. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/duplicates/tests/unit/services/detection/duplicate-rule-actions.spec.js #does not match on name and postal code when a name DISAGREES, however the places compare 06 Invalid replacements preserve the existing rule concurrency api negative test
Proves BR-CAP-CRM-DQ-003-06 Preconditions Read a rule and prepare stale, versionless, mismatched, invalid-action and locked replacements. Steps Submit each replacement. Expected Every invalid edit is refused and the stored rule remains unchanged. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/duplicates/tests/e2e/duplicates.e2e.spec.js #refuses the version that has moved on (409) 08 Configuration authority is separate from review permission api negative test
Proves BR-CAP-CRM-DQ-003-09 Preconditions Prepare a duplicate reader, reviewer and configuration administrator. Steps Request rule reads and updates as each caller. Expected Only the caller with configuration authority succeeds. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/duplicates/tests/e2e/duplicates.e2e.spec.js #answers 403 to a reviewer reading the rules, which are the tenant’s configuration 10 Two rules cannot hold the same position invariant api test
Proves INV-DOM-CRM-DQ-001-11 Preconditions Two rules in one workspace at different positions. Steps Try moving the second rule to the first rule’s position. Expected The update is refused and the original ordering remains. Data Records, versions and caller contexts owned by the run; transaction failure injection when the invariant concerns rollback. Bound to Source services-crm:modules/duplicates/tests/integration/services/persistence/duplicate-rules.integration.spec.js #refuses the place another rule already holds 11 Provisioning preserves an edited workspace rule transition api negative proposed
Proves BR-CAP-CRM-DQ-003-08 Preconditions A workspace with no default rules, followed by an edited default. Steps Provision defaults, edit one, provision again and inspect all rule identities and versions. Expected The default set exists and repeat provisioning retains the edit and its version. Data Run-owned records and caller permissions that distinguish the two cases. Source services-crm:modules/duplicates/tests/integration/services/persistence/duplicate-rules.integration.spec.js #leaves the tenant’s own name, switch and action exactly as the tenant left them ← Previous Capability Test Specification ATS-CRM-DQ-002 · Explain the strength of a duplicate suggestion: Capability Test Specification Next Capability Test Specification → ATS-CRM-DQ-004 · Check drafts and account for block overrides: Capability Test Specification