Skip to content

TST-CRM-REG-057Assignment sources coverage and currency

Markdown

TST-CRM-REG-057

Assignment sources coverage and currency

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-02 ATS-CRM-REG-003-03 ATS-CRM-REG-006-02 ATS-CRM-REG-006-03 ATS-CRM-REG-006-05 ATS-CRM-REG-008-05 ATS-CRM-REG-008-14 ATS-CRM-REG-010-02 ATS-CRM-REG-010-03 ATS-CRM-REG-010-04 ATS-CRM-REG-010-05 FAS-CRM-REG-04-02 FAS-CRM-REG-04-05

Assertions

IdStatementProvenance
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#assignment on with no rule at all › gives the contact no region, because the tenant has no enabled rule to match
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#assignment for contacts only › leaves the organization unassigned, though its address is the one the contact was assigned from
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#the rest of the world rule › gives an address no other rule matched the rest of the world region
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#a rule staff turned off › skips the disabled rule and answers the next rule that matches
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#a rule staff turned off › gives no region when only a disabled rest of the world rule is left, because a disabled rule is no answer
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#a postal code rule confined to a country › matches an address in the country the rule names
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#a postal code rule confined to a country › refuses the same postal code in another country
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#a postal code rule confined to a country › counts an address with no country as US, so a rule confined to US matches it
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#an organization decided by its preferred address › moves the organization when another of its addresses becomes the preferred one
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#tenant isolation, with rules on both sides › leaves a contact at that same address unassigned here, because the rule that covers it is the neighbour’s
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#tenant isolation, with rules on both sides › assigns a contact of the neighbour tenant from the neighbour’s own rules
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#whether a recalculation is needed › says a recalculation is needed once the rules have been saved and nothing has recalculated
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#whether a recalculation is needed › says none is needed once a recalculation has succeeded against those rules
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#whether a recalculation is needed › says one is needed again as soon as a rule is added
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#whether a recalculation is needed › a rule saved while a recalculation is under way › says one is still needed, because the run was recorded under the rules as they were before
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#whether a recalculation is needed › a rule change stamped at the very instant the last run started › says one is needed after a rule is added at the very instant the run started
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#whether a recalculation is needed › a rule change stamped at the very instant the last run started › says none is needed while no rule has changed since that run
services-crm:modules/regions/tests/integration/services/region-assignment/region-assignment-rules.integration.spec.js#says one is still needed, because the run was recorded under the rules as they were before

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.