ATS-CRM-DQ-014 Preserve the right information on the surviving contact: Capability Test Specification
Markdown Design / CRM / Duplicate Review and Record Merging / Prepare a Reviewed Merge / Capability Test Specification Show evidence (sources, provenance, origins, pinned commits)Coverage Rule covered Transition covered Validation covered Permission gap: FND-CRM-DQ-065 Edge covered Failure covered Boundary covered Concurrency gap: FND-CRM-DQ-065 Invariant covered Interaction covered Test Scenarios 16 scenarios proving CAP-CRM-DQ-014 ; 14 bound to an existing test.
01 Consent is combined without an override choice invariant unit test
Proves BR-CAP-CRM-DQ-014-01 Preconditions Participants differ on contact prohibitions and subscriptions. Steps Compute the preview. Expected The strictest flags and subscription remain, no question permits relaxation and discarded choices identify the consent rule. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/unit/services/planning/contact-fields.spec.js #is true on the survivor when any participant holds it 02 Same-type details compete for one slot rule unit test
Proves BR-CAP-CRM-DQ-014-02 Preconditions Two participants hold different work addresses. Steps Plan and select the alternative address. Expected One slot question selects the written address and explains the discarded one. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/unit/services/planning/contact-collections.spec.js #writes the other address when staff choose it, and attributes the survivor’s to the slot conflict 03 E-mail choices respect count and primary uniqueness boundary unit negative test
Proves BR-CAP-CRM-DQ-014-03 Preconditions Four distinct addresses compete and an outsider reserves a possible primary. Steps Build the plan. Expected Selection limits retention to three, requires a primary and blocks the reserved primary. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/unit/services/planning/contact-collections.spec.js #asks which three to keep when the participants hold more 06 Participant spouse links cannot become self-links edge unit test
Proves BR-CAP-CRM-DQ-014-06 Preconditions An absorbed participant names the survivor as spouse. Steps Compute the preview. Expected The spouse reference clears with its responsible rule identified. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/unit/services/planning/contact-fields.spec.js #is cleared when the survivor itself is the spouse a participant names, which no contact may be 07 Equivalent employment stays combine without collapsing distinct stays rule api test
Proves BR-CAP-CRM-DQ-014-07 Preconditions Prepare overlapping Acme affiliations and two separate stays elsewhere. Steps Run the planned contact combination. Expected The Acme stay uses its earliest start and both role sets while distinct stays remain separate. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/integration/services/merges/merge-execution.integration.spec.js #combines the two Acme affiliations into one, from the earliest start, open, with the survivor’s title and both roles 08 Primary affiliations use only effective choices edge unit test
Proves BR-CAP-CRM-DQ-014-08 Preconditions Prepare competing primaries, a survivor without one and ended or future affiliations. Steps Build previews. Expected Competing primaries create an optional defaulted choice, a sole absorbed primary fills the gap and ineffective affiliations are excluded. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/unit/services/planning/contact-collections.spec.js #shows the primary organization for review as a defaulted, optional decision when two participants hold one at different organizations 09 Linked details preserve their usable source rule unit test
Proves BR-CAP-CRM-DQ-014-09 Preconditions Prepare identical organization-source links, an unresolved link and a link losing its affiliation. Steps Compute the plan. Expected Identical sources collapse, unresolved details are dropped as replaced and the detached affiliation's detail becomes a described copy. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/unit/services/planning/linked-contact-information.spec.js #treats two items linked to the same record as one item, so the slot asks nothing 11 Archived custom values receive no merge write edge api test
Proves BR-CAP-CRM-DQ-014-12 Preconditions Both participants hold an archived custom field. Steps Prepare the preview and run its combination. Expected No choice appears for that field and execution succeeds without updating it. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/e2e/merges.e2e.spec.js #offers no conflict about the archived field 13 Discarded information retains a reason and source invariant unit test
Proves BR-CAP-CRM-DQ-014-14 Preconditions Use a snapshot containing every difference type and the four-contact example. Steps Compute previews. Expected Each omitted value identifies its original records and responsible question, default or rule. Data The existing scenario setup supplies the required records. Bound to Source services-crm:modules/merges/tests/unit/services/planning/merge-decisions.spec.js #names a conflict, a default or a rule for every value it drops, over a snapshot of every kind of difference 15 The chosen photo attaches to the retained contact transition api negative proposed
Proves BR-CAP-CRM-DQ-014-11 Preconditions Two participants with different managed photos and a fixed clock. Steps Choose the absorbed participant’s photo, execute and inspect both managed assets. Expected The chosen photo attaches to the survivor and the unused photo is detached with its thirty-day retirement deadline. Data Run-owned records and caller permissions that distinguish the two cases. Source services-crm:modules/merges/tests/unit/services/planning/merge-decisions.spec.js #says so when the survivor keeps its own photo and a participant’s is dropped ← Previous Capability Test Specification ATS-CRM-DQ-013 · Resolve differences in the merge preview: Capability Test Specification Next Capability Test Specification → ATS-CRM-DQ-015 · Keep related records consistent through a merge: Capability Test Specification