Skip to content

Conversation

kobenguyent
Copy link
Collaborator

@kobenguyent kobenguyent commented Dec 29, 2023

Motivation/Description of the PR

  • fix an issue where step arg is a function that breaks the code when running with run-workers
Error processing step.start event:
DataCloneError: function (requestParameters, options) {
            return localVarFp.lookupAddresses(requestParameters.lookupA...<omitted>... } could not be cloned.
    at new DOMException (node:internal/per_context/domexception:53:5)
    at sendToParentThread (/Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/command/workers/runTests.js:266:14)
    at EventEmitter.<anonymous> (/Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/command/workers/runTests.js:221:51)
    at EventEmitter.emit (node:events:525:35)
    at EventEmitter.emit (node:domain:489:12)
    at Object.emit (/Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/event.js:149:28)
    at /Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/actor.js:132:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Type of change

  • 🐛 Bug fix

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@kobenguyent kobenguyent merged commit 10df8b2 into 3.x Dec 30, 2023
@kobenguyent kobenguyent deleted the fix-step-args branch December 30, 2023 09:26
@kobenguyent kobenguyent mentioned this pull request Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants