b2c-crm-sync
b2c-crm-sync copied to clipboard
Multi-cloud unit-tests command failed
After running npm run crm-sync:test:use-cases
tests following results are received:
0 passing (55s)
14 failing
1) Authenticating a B2C Customer Profile via the OCAPI Shop API
"before all" hook for "does not create a SFDC Contact when b2c-crm-sync is disabled for a storefront":
Error: TypeError: Parameter client_id missing or not of type String
at Context.<anonymous> (test/_use-cases/b2c/authentication.live.test.js:107:19)
2) Authenticating a B2C Customer Profile via the OCAPI Shop API
"after all" hook for "does not allow updates to a SFDC Contact with sync-customers is disabled":
Error: getaddrinfo ENOTFOUND undefined
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26)
3) Registering a new B2C Customer Profile via the OCAPI Shop API
"before all" hook for "does not create a SFDC Contact when b2c-crm-sync is disabled for a storefront":
Error: TypeError: Parameter client_id missing or not of type String
at Context.<anonymous> (test/_use-cases/b2c/customerRegistration.live.test.js:101:19)
4) Registering a new B2C Customer Profile via the OCAPI Shop API
"after all" hook for "does not allow updates to SFDC Contact via B2C Commerce when sync-customers is disabled":
Error: getaddrinfo ENOTFOUND undefined
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26)
5) Progressive resolution B2C Commerce Customer creation scenarios via the B2CContactProcess API
"before all" hook for "creates a Contact from a B2C CustomerList ID and Email attribute combination":
Error: TypeError: Parameter client_id missing or not of type String
at Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.create.live.test.js:106:19)
6) Progressive resolution B2C Commerce Customer creation scenarios via the B2CContactProcess API
"after all" hook for "creates a new contact when multiple Contacts are resolved by Email and LastName without a B2C CustomerList":
Error: getaddrinfo ENOTFOUND undefined
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26)
7) Progressive resolution of a B2C Commerce Customer error scenarios via the B2CContactProcess API
"before all" hook for "returns an error if non-identifiers are used without a B2C CustomerList for resolution via the B2CContactProcess service":
Error: TypeError: Parameter client_id missing or not of type String
at Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.errors.live.test.js:104:19)
8) Progressive resolution of a B2C Commerce Customer error scenarios via the B2CContactProcess API
"after all" hook for "returns an error if a validated Contact has integration disabled":
Error: getaddrinfo ENOTFOUND undefined
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26)
9) Progressive resolution of a B2C Commerce Customer via the B2CContactProcess API
"before all" hook for "resolves an existing Contact using LastName and Email -- where the existing Contact does not have a B2C CustomerList":
Error: TypeError: Parameter client_id missing or not of type String
at Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.resolve.live.test.js:107:19)
10) Progressive resolution of a B2C Commerce Customer via the B2CContactProcess API
"after all" hook for "returns an error when multiple records are resolved by B2C CustomerList and CustomerNo":
TypeError: Cannot read property 'conn' of undefined
at Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.resolve.live.test.js:666:92)
at processImmediate (internal/timers.js:464:21)
11) Progressive resolution of a B2C Commerce Customer update scenarios via the B2CContactProcess API
"before all" hook for "allows direct updates by B2C CustomerList, Email, and LastName":
Error: TypeError: Parameter client_id missing or not of type String
at Context.<anonymous> (test/_use-cases/sfdc/b2cContactProcess.update.live.test.js:103:19)
12) Progressive resolution of a B2C Commerce Customer update scenarios via the B2CContactProcess API
"after all" hook for "allows direct updates by ContactID":
Error: getaddrinfo ENOTFOUND undefined
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26)
13) Updating an SFDC Contact representing a B2C Commerce Customer Profile from within SFDC
"before all" hook for "successfully updates a B2C Commerce Profile with changes initiated from SFDC when integration is enabled":
Error: TypeError: Parameter client_id missing or not of type String
at Context.<anonymous> (test/_use-cases/sfdc/b2cCustomerProfileUpdate.live.test.js:98:19)
14) Updating an SFDC Contact representing a B2C Commerce Customer Profile from within SFDC
"after all" hook for "does not process updates to a B2C Commerce Profile with changes initiated from SFDC when integration is disabled":
Error: getaddrinfo ENOTFOUND undefined
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26)
FYI it is the same instance that on weekend had only 5 failing tests as per >> this << reported issue and no changes have been done to end instances. The only change was introduced multiple environments via folder tree as per recommendations under >> this << ticket.