You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a utility function to retrieve the count from an API. The value is properly returned in the utility function though the caller (the actual test) is getting a promise. Is there a way to get the actual value in the test? See below code samples.
I created a utility function to retrieve the count from an API. The value is properly returned in the utility function though the caller (the actual test) is getting a promise. Is there a way to get the actual value in the test? See below code samples.
emailUtility.js
test.cy.js
Below is the screenshot of the test run.
If I used async...await in the test then I get the below error.
The text was updated successfully, but these errors were encountered: