Cypress Task issues with Promises #15313
bradyclifford
started this conversation in
General
Replies: 1 comment
-
I think your bumping into this https://docs.cypress.io/api/commands/task.html#Argument-should-be-serializable Hope that helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to seed a CosmosDB prior to running a Cypress spec. I am attempting to do so using a "task". When I run the code cosmos code just from node, it works great. But when I import the code, reference it within plugins as a task and run it from a Cypress spec, I get a
Converting circular structure to JSON
. Has something to do with how I am managing the promises.Beta Was this translation helpful? Give feedback.
All reactions