Contribution
Ele Elyiana on Clone Army
Connected template-based test leads to dynamic form fields and fixed the generator to preserve random assignment. Those changes let synthetic leads exercise the forms service and assignment handling with the intended inputs.
The April 2021 template test looked up form definitions through the forms service and passed form data into the synthetic lead path. In August, Ele stopped rewriting random assignment to a fixed project list and guarded the bulk handler against an absent project list. One implication is that the generator could leave the assignment choice to the receiving path while still supplying form-shaped inputs.
From the diff
services/insertLeadsBulk.js at f182998
+ if(body.assignmentMode.projects){
+ body.assignmentMode.projects = _.filter(body.assignmentMode.projects,function (value) {
The bulk request only filters a project list when one was supplied. In the generator the same revision removes the conversion of random assignment into an explicit list, so the assignment mode can cross the ingestion boundary as requested.
Selected commit log
Archived repository Dodol/clone-army.
- 2021-04-15 ·
604d1c8· Add sc-form function to dynamically load the input-field - 2021-08-11 ·
f182998· Fix random assignmentMode