Skip to content

TST-CRM-REG-058Record placement and recalculation integration

Markdown

TST-CRM-REG-058

Record placement and recalculation integration

Markdown
  • DocumentDraft
  • ImplementationImplemented
  • ConformanceNot verified

Product areaCRMModuleRegionsRevision1

Read atservices-crm a8d1364f

Isolation
Suite-owned workspace and records in the prepared test database.
Kind
integration
Repository
services-crm
Environment
local
Implementation state
implemented
Latest result
not-run
Conformance
not-verified

Test Files

Implements

ATS-CRM-REG-003-03 ATS-CRM-REG-004-05 ATS-CRM-REG-006-01 ATS-CRM-REG-006-04 ATS-CRM-REG-008-01 ATS-CRM-REG-008-02 ATS-CRM-REG-008-03 ATS-CRM-REG-008-04 ATS-CRM-REG-008-05 ATS-CRM-REG-008-06 ATS-CRM-REG-008-10 ATS-CRM-REG-008-11 ATS-CRM-REG-008-14 ATS-CRM-REG-009-01 ATS-CRM-REG-009-02 ATS-CRM-REG-009-03 ATS-CRM-REG-009-04 ATS-CRM-REG-010-01 ATS-CRM-REG-011-02 ATS-CRM-REG-011-03 ATS-CRM-REG-011-04 ATS-CRM-REG-011-05 ATS-CRM-REG-011-06 ATS-CRM-REG-011-07 ATS-CRM-REG-011-08 FAS-CRM-REG-03-01 ATS-CRM-REG-006-14

Assertions

IdStatementProvenance
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#assignment switched off › gives a contact created while only organizations are assigned no region
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#refusals › refuses settings whose rule names a region the tenant does not have
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#incomplete addresses and the matcher’s own comparisons › answers the first rule in order when two match (postal code before state)
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#incomplete addresses and the matcher’s own comparisons › matches a ZIP+4 postal code inside a five-digit range
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#initial assignment › answers no region from the create itself, because the assignment is a reaction to the committed save
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#initial assignment › gives a contact created with a matching address that address's region
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#moving › moves a contact from region A to region B when its address moves
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#moving › clears an organization's region when its main address is removed
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#moving › ignores a change to an address that does not decide the region
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#the deciding address type › decides by the address of the named type, not by an address of another type
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#the deciding address type › decides an organization by the address type the settings name, not by its main address
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#initial assignment › keeps a region the client sends with a contact that has no address (nothing decides it)
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#the version an organization’s assignment bumps › leaves an organization at the version its save answered when its region does not change
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#the version an organization’s assignment bumps › bumps it once past the save when the region moves
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a linked address (docs/affiliations/README.md §0b.3, the fan-out) › moves the linked contact when its organization’s address moves, though no contact row was written
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a linked address (docs/affiliations/README.md §0b.3, the fan-out) › bumps the contact’s version once, for the region that moved and nothing else
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#tenant isolation › assigns nothing in a tenant with no settings, whatever another tenant's rules say
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#manual regions and the override › never changes the region of a contact that overrides automatic assignment
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#manual regions and the override › never changes the region of an organization that overrides automatic assignment
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#manual regions and the override › keeps a manual region while the deciding address is unchanged
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#manual regions and the override › replaces a manual region when the deciding address changes
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#manual regions and the override › a contact moved while overridden, then switched back to automatic › kept the region while the override was on, so the move was left undecided
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#manual regions and the override › a contact moved while overridden, then switched back to automatic › assigns the region of the address it moved to once the override is off
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#manual regions and the override › an organization moved while overridden, then switched back to automatic › assigns the region of the address it moved to once the override is off
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › changes no record when the rules are saved
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a recalculation resumed in batches › answers the running run to a second request instead of starting another
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a start request while a run nothing has advanced is in progress › answers the run in progress rather than starting another
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › finishes a small tenant within the request
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a recalculation resumed in batches › answers a run still running after one batch
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a recalculation resumed in batches › asks for the next worker by incrementing `continuation`
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a recalculation resumed in batches › continues from its cursor, never repeating a record
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a recalculation resumed in batches › ends completed, with every record examined once
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › moves a contact to its region under the new rules
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › moves an organization to its region under the new rules
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › leaves a contact that overrides automatic assignment
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › leaves a contact with no address (nothing decides its region)
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › starts a new run when asked again after the first finished
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#rule changes and the recalculation › changes nothing on a second run under the same rules
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#a save racing a recalculation › ends with the region of the newest address
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment.integration.spec.js#normalized address variants (the save-time cleaning, docs/migrations/contact-and-organization-cleaning/) › matches a state rule from the state written out in full

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.