Skip to content

TST-CRM-REG-050Assignment-policy persistence and competing writes

Markdown

TST-CRM-REG-050

Assignment-policy persistence and competing writes

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-01 ATS-CRM-REG-003-02 ATS-CRM-REG-003-04 ATS-CRM-REG-003-05 ATS-CRM-REG-003-06 ATS-CRM-REG-003-07 ATS-CRM-REG-004-02 ATS-CRM-REG-004-05 ATS-CRM-REG-004-07 ATS-CRM-REG-004-08 ATS-CRM-REG-005-05 FAS-CRM-REG-02-05

Assertions

IdStatementProvenance
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › answers assignment off, the legacy defaults and no rules for a tenant that saved none
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › refuses the type setting with no contact address type id
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › drops the contact address type id unless the type is `type`, as the console did with the other address type
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › refuses a contact address type id the tenant has no address type for
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › refuses an organization address type the tenant has no address type for
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › takes a contact address type marked for organizations, applies_to being a guide and not a rule
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › leaves the saved rules as they were when a save is refused
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › refuses a rule naming a region the tenant does not have, naming it
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#the capability › gives every rule it saved an id of its own, because a rule is a record a console can now manage one at a time
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#rules written one at a time, beside a settings save › moves the settings’ version once for each rule written, as a settings save does
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#rules written one at a time, beside a settings save › a whole-list save read before a rule was created › is refused as stale, so the new rule is not dropped
services-crm:modules/regions/tests/integration/services/persistence/region-assignment-settings.integration.spec.js#rules written one at a time, beside a settings save › a whole-list save read before a rule was created › leaves the rule created beside it in the list

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.