All project notes

Contribution

Wahidiatul Firni on Clone Army

Changed synthetic form email fields to use example addresses and updated the campaign-tracking payload. This kept generated inputs aligned with the revised lead structure while using addresses intended for examples.

In the August 2021 revision labelled 3.4.7, Wahidiatul changed generated form email fields to use Faker’s example-address method. The same change replaced the empty tracker object in lead generators with an empty campaign tracker list under the extra field. Together these changes kept the test fixtures aligned with the revised payload while making the generated email values suitable as examples.

From the diff

services/lib/generateRandomLead.js at 4a4b5e8

-                        loopLead[element.name] = faker.internet.email();
+                        loopLead[element.name] = faker.internet.exampleEmail();

The generator still fills email-shaped fields. It now draws those values from Faker’s example-address method, which is a better fit for fixtures.

Selected commit log

Archived repository Dodol/clone-army.

  • 2021-08-25 · 4a4b5e8 · clone army v3.4.7