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
Flaky test: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/root/cypress/packages/data-context/test/unit/sources/GitDataSource.spec.ts)
#23317
The missing done doesn't fix the test failure -- it's a symptom of the test failure. That said, the missing done is an easy fix and will help us see the actual error that's happening. To do so, let's just add a try/catch, where the try ends with done() and the catch ends with done(new Error(error))
Cypress Version
10.4.0
Other
Search for this issue number in the codebase to find the test(s) skipped until this issue is fixed
The text was updated successfully, but these errors were encountered:
I'd like to limit this to half a day max - I'd also like to know if we've already got coverage for this somewhere else, and if we do, just delete this test.
Link to dashboard or CircleCI failure
https://app.circleci.com/pipelines/github/cypress-io/cypress/41761/workflows/4f6901d8-6339-4309-b284-e03055666f1c/jobs/1732010
Link to failing test in GitHub
https://github.com/cypress-io/cypress/blob/develop/packages/data-context/test/unit/sources/GitDataSource.spec.ts#L46
Analysis
The missing
done
doesn't fix the test failure -- it's a symptom of the test failure. That said, the missingdone
is an easy fix and will help us see the actual error that's happening. To do so, let's just add a try/catch, where the try ends withdone()
and the catch ends withdone(new Error(error))
Cypress Version
10.4.0
Other
Search for this issue number in the codebase to find the test(s) skipped until this issue is fixed
The text was updated successfully, but these errors were encountered: