Async/await line are not executing in cypress headless mode #31207
Unanswered
mikemd121
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for some reason when running Cypress on headless mode it is not able to resolve promises through await calls. It just works when running the test on open mode and using Chrome as a browser.
my two request calls working in cypress UI mode.. but not working in headless mode and failing. I tried several ways to fix this. But unfortunately couldn't find a way.
//belowis the fully working code with public working API
Beta Was this translation helpful? Give feedback.
All reactions