2

Stage: We have a legacy codebase from another outsourcer. We're adopting it for SFDX now.

Several tests are now failing because they generate duplicate Contacts. We'd like to avoid rewriting those tests because we plan to get rid of them completely later in the project.

As a quick fix, we want to deactivate duplication rules on scratch orgs we use for CI test run.

I couldn't find any info on how to this through SFDX during or after scratch org provisioning. Maybe someone faced the same issue before or just knows somehow how to achieve this with SFDX CLI?

  • You could use puppeteer to enable or disable settings, we have been using this for a while, works quite nicely! – Raul Apr 23 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.