SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

Multi-cloud unit-tests 5 failing #19

Open olegforce opened 2 years ago

olegforce commented 2 years ago

After running npm run crm-sync:test:use-cases tests on the org with person accounts setup following results are received:

  42 passing (26m)
  5 failing

  1) Progressive resolution B2C Commerce Customer creation scenarios via the B2CContactProcess API
       creates a Contact that includes additional non-resolution specific field values:

       -- expected the Contact object to have the property Description
      + expected - actual

      -false
      +true

      at /Users/osapishchuk/IdeaProjects/b2c-crm-sync/test/_use-cases/_common/_validateContactProperties.js:31:16
      at Array.forEach (<anonymous>)
      at _validateContactProperties (test/_use-cases/_common/_validateContactProperties.js:28:23)
      at Object._executeAndVerifyB2CProcessResult [as executeAndVerifyB2CProcessResult] (test/_use-cases/_common/_executeAndVerifyB2CProcessResult.js:30:5)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at async Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.create.live.test.js:248:18)

  2) Progressive resolution of a B2C Commerce Customer update scenarios via the B2CContactProcess API
       allows direct updates by B2C CustomerList, Email, and LastName:

       -- expected the Contact object to have the property Description
      + expected - actual

      -false
      +true

      at /Users/osapishchuk/IdeaProjects/b2c-crm-sync/test/_use-cases/_common/_validateContactProperties.js:31:16
      at Array.forEach (<anonymous>)
      at _validateContactProperties (test/_use-cases/_common/_validateContactProperties.js:28:23)
      at Object._executeAndVerifyB2CProcessResult [as executeAndVerifyB2CProcessResult] (test/_use-cases/_common/_executeAndVerifyB2CProcessResult.js:30:5)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at async Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.update.live.test.js:155:25)

  3) Progressive resolution of a B2C Commerce Customer update scenarios via the B2CContactProcess API
       allows direct updates by B2C CustomerID:

       -- expected the Contact object to have the property Description
      + expected - actual

      -false
      +true

      at /Users/osapishchuk/IdeaProjects/b2c-crm-sync/test/_use-cases/_common/_validateContactProperties.js:31:16
      at Array.forEach (<anonymous>)
      at _validateContactProperties (test/_use-cases/_common/_validateContactProperties.js:28:23)
      at Object._executeAndVerifyB2CProcessResult [as executeAndVerifyB2CProcessResult] (test/_use-cases/_common/_executeAndVerifyB2CProcessResult.js:30:5)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at async Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.update.live.test.js:195:25)

  4) Progressive resolution of a B2C Commerce Customer update scenarios via the B2CContactProcess API
       allows direct updates by B2C CustomerList ID and B2C CustomerNo:

       -- expected the Contact object to have the property Description
      + expected - actual

      -false
      +true

      at /Users/osapishchuk/IdeaProjects/b2c-crm-sync/test/_use-cases/_common/_validateContactProperties.js:31:16
      at Array.forEach (<anonymous>)
      at _validateContactProperties (test/_use-cases/_common/_validateContactProperties.js:28:23)
      at Object._executeAndVerifyB2CProcessResult [as executeAndVerifyB2CProcessResult] (test/_use-cases/_common/_executeAndVerifyB2CProcessResult.js:30:5)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at async Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.update.live.test.js:236:25)

  5) Progressive resolution of a B2C Commerce Customer update scenarios via the B2CContactProcess API
       allows direct updates by ContactID:

       -- expected the Contact object to have the property Description
      + expected - actual

      -false
      +true

      at /Users/osapishchuk/IdeaProjects/b2c-crm-sync/test/_use-cases/_common/_validateContactProperties.js:31:16
      at Array.forEach (<anonymous>)
      at _validateContactProperties (test/_use-cases/_common/_validateContactProperties.js:28:23)
      at Object._executeAndVerifyB2CProcessResult [as executeAndVerifyB2CProcessResult] (test/_use-cases/_common/_executeAndVerifyB2CProcessResult.js:30:5)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at async Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.update.live.test.js:275:25)
olegforce commented 2 years ago

Following duplicate rules are on the instnace: image This is my configuration for "B2C Commerce: Standard Person Accounts" duplicate rule image image